Skip to content

Commit

Permalink
chore(lint): change lint action (#607)
Browse files Browse the repository at this point in the history
* chore(lint): use Krizzu/eslint-check-action

* chore(lint): run on push too

* chore(lint): specify `eslintConfig` path

* chore(lint): try out another action since this one does not respect `.eslintrc` files per folder

* more tweaking

* change a file

* test hallee to make sure

* Revert "test hallee to make sure"

This reverts commit 76988aa.

* simplify eslint script

* have lint pass

Co-authored-by: TimeForANinja <[email protected]>
  • Loading branch information
fent and TimeForANinja authored Apr 14, 2020
1 parent 5566272 commit 04fd05b
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
name: Lint

on: pull_request
on: [push, pull_request]

jobs:
eslint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: hallee/eslint-action@master

- uses: actions/setup-node@v1
with:
repo-token: ${{secrets.GITHUB_TOKEN}}
node-version: 13.x

- name: npm install, build, and lint
run: |
npm install
npm run build --if-present
npm run-script lint

0 comments on commit 04fd05b

Please sign in to comment.