Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(CI): support testing against multiple ESLint versions #227

Merged
merged 1 commit into from Dec 17, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/CI.yml
Expand Up @@ -6,13 +6,12 @@ jobs:
main:
strategy:
matrix:
node: [10.12, 10, 12.0, 12, 14, 15]
eslint: [7]
node: [10.12, 10, 12.0, 12, 14, 16]
runs-on: ubuntu-latest
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.8.0
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
uses: styfle/cancel-workflow-action@0.9.1

- name: ⬇️ Checkout repo
uses: actions/checkout@v2
Expand All @@ -22,10 +21,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