-
-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
42 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
|
||
jobs: | ||
ci: | ||
name: 'Test: Node ${{ matrix.node-version }} - ESLint ${{ matrix.eslint-version }}' | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
eslint-version: [7.x, 6.x, 5.x] | ||
node-version: [14.x, 12.x, 10.x, 8.x, 6.x] | ||
|
||
exclude: | ||
# eslint 7 does not support node 6 or 8 | ||
- eslint-version: 7.x | ||
node-version: 8.x | ||
- eslint-version: 7.x | ||
node-version: 6.x | ||
# eslint 6 does not support node 6 | ||
- eslint-version: 6.x | ||
node-version: 6.x | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Use ESLint ${{ matrix.eslint-version }} | ||
run: yarn upgrade eslint@${{ matrix.eslint-version }} | ||
|
||
- name: Install | ||
run: yarn install | ||
|
||
- name: Test | ||
run: yarn run test |
This file was deleted.
Oops, something went wrong.