Skip to content

Commit

Permalink
Run benchmarks on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jridgewell committed Feb 24, 2024
1 parent d515a7e commit eb146e8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 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: [6.x, 8.x, 10.x, 12.x, 14.x, 16.x, 18.x, 20.x]
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v1
Expand All @@ -26,6 +26,12 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Test legacy node
- name: Test node
run: |
node dist/gen-mapping.umd.js
- name: Benchmark
run: |
npm run benchmark:install
npm run benchmark:only
env:
CI: true

0 comments on commit eb146e8

Please sign in to comment.