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