From 61e26df637f4d40ff8fe58214f370d1b4caf5eed Mon Sep 17 00:00:00 2001 From: Alexander Rose <alexander.rose@weirdbyte.de> Date: Wed, 8 Apr 2020 18:02:47 -0700 Subject: [PATCH] try different lint workflow --- .github/workflows/lint.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 50ced85b1..1a52bf384 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 -- GitLab