diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 50ced85b11e2eec77482004934484f17d1f2e19a..1a52bf384c81e38a291f36a0ad13191c99357ccb 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,12 +1,18 @@ -name: Lint - -on: pull_request +on: + push: + pull_request: jobs: eslint: + name: eslint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: hallee/eslint-action@master - with: - repo-token: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file + - uses: actions/checkout@v1 + - name: install node v12 + uses: actions/setup-node@v1 + with: + node-version: 12 + - name: yarn install + run: yarn install + - name: eslint + uses: icrawl/action-eslint@v1 \ No newline at end of file