-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
1 parent
4855096
commit 4425a54
Showing
2 changed files
with
19 additions
and
12 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 |
---|---|---|
|
@@ -6,13 +6,17 @@ jobs: | |
main: | ||
strategy: | ||
matrix: | ||
node: [10.12, 10, 12.0, 12, 14, 15] | ||
eslint: [7, 8] | ||
node: [10.12, 10, 12.0, 12, 14, 16] | ||
exclude: | ||
- eslint: 8 | ||
node: 10 | ||
- eslint: 8 | ||
node: 10.12 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ secrets.GITHUB_TOKEN }} | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v2 | ||
|
@@ -22,10 +26,13 @@ jobs: | |
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- name: 📥 Download deps | ||
- name: 📥 Download dependencies | ||
uses: bahmutov/npm-install@v1 | ||
with: | ||
useLockFile: false | ||
|
||
- name: 📥 Install ESLint v${{ matrix.eslint }} | ||
run: npm install eslint@${{ matrix.eslint }} | ||
|
||
- name: ▶️ Run test script | ||
run: npm run test -- --runInBand |
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