Update linting action

This commit is contained in:
Snazzah 2021-06-24 00:31:09 -05:00
parent 2aeacc0a77
commit 48285f7d1f
No known key found for this signature in database
GPG key ID: 5E71D54F3D86282E

View file

@ -1,4 +1,4 @@
name: ESLint
name: Lint
on:
push:
paths:
@ -22,11 +22,11 @@ jobs:
- name: Install dependencies
run: yarn install
- name: Run ESLint
run: yarn run eslint:fix
run: yarn run lint:fix
- name: Commit changes
uses: EndBug/add-and-commit@v4
with:
add: src
message: "chore(lint): Auto-fix linting errors"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}