Skip to content

Commit

Permalink
Merge pull request #19 from moneyforward/chore/eslint-matrix
Browse files Browse the repository at this point in the history
Add eslint matrix on ci (with continue-on-error)
  • Loading branch information
Hiromi Kimura authored Dec 8, 2021
2 parents 640139f + ef1382d commit 15e30aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@ jobs:
strategy:
matrix:
node: [12.x, 14.x, 16.x]
eslint: [7, 8]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Use ESLint ${{ matrix.eslint }}
run: npm install eslint@${{ matrix.eslint }}
continue-on-error: ${{ matrix.eslint == '8' }}
- run: |
npm install --silent
npm run lint
npm run test
continue-on-error: ${{ matrix.eslint == '8' }}

0 comments on commit 15e30aa

Please sign in to comment.