Skip to content

Commit 4281516

Browse files
authoredDec 17, 2021
Merge pull request #227 from MichaelDeBoey/patch-1
chore(CI): support testing against multiple ESLint versions
2 parents bc65288 + 364b664 commit 4281516

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed
 

‎.github/workflows/CI.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ jobs:
66
main:
77
strategy:
88
matrix:
9-
node: [10.12, 10, 12.0, 12, 14, 15]
9+
eslint: [7]
10+
node: [10.12, 10, 12.0, 12, 14, 16]
1011
runs-on: ubuntu-latest
1112
steps:
1213
- name: 🛑 Cancel Previous Runs
13-
uses: styfle/cancel-workflow-action@0.8.0
14-
with:
15-
access_token: ${{ secrets.GITHUB_TOKEN }}
14+
uses: styfle/cancel-workflow-action@0.9.1
1615

1716
- name: ⬇️ Checkout repo
1817
uses: actions/checkout@v2
@@ -22,10 +21,13 @@ jobs:
2221
with:
2322
node-version: ${{ matrix.node }}
2423

25-
- name: 📥 Download deps
24+
- name: 📥 Download dependencies
2625
uses: bahmutov/npm-install@v1
2726
with:
2827
useLockFile: false
2928

29+
- name: 📥 Install ESLint v${{ matrix.eslint }}
30+
run: npm install eslint@${{ matrix.eslint }}
31+
3032
- name: ▶️ Run test script
3133
run: npm run test -- --runInBand

0 commit comments

Comments
 (0)
Please sign in to comment.