Skip to content

Commit

Permalink
Fix GH CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jridgewell committed Feb 24, 2024
1 parent b9d92dc commit d515a7e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
latest-node-version: [20.x]
node-version: [18.x, 20.x]
node-version: [6.x, 8.x, 10.x, 12.x, 14.x, 16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v1
Expand All @@ -21,14 +21,11 @@ jobs:
run: |
npm install
npm run build
npm run test:coverage
npm run test:only
- name: Switch to Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Test legacy node
run: |
npm install mocha@6.2.3
npm run test:only
env:
CI: true
node dist/gen-mapping.umd.js

0 comments on commit d515a7e

Please sign in to comment.