Skip to content

Commit 75a01d0

Browse files
committed
chore(ci): add node versions regression matrix
1 parent c57706f commit 75a01d0

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,27 @@ jobs:
3939
uses: CodSpeedHQ/action@v1
4040
with:
4141
run: pnpm moon run :bench
42+
43+
node-versions:
44+
runs-on: "ubuntu-latest"
45+
name: "Node ${{ matrix.node-version }}"
46+
strategy:
47+
matrix:
48+
node-version: ["14", "16", "18", "20"]
49+
fail-fast: false
50+
steps:
51+
- uses: "actions/checkout@v3"
52+
with:
53+
fetch-depth: 0
54+
- run: sudo apt-get install -y valgrind
55+
- uses: pnpm/action-setup@v2
56+
- uses: actions/setup-node@v3
57+
with:
58+
cache: pnpm
59+
node-version: ${{ matrix.node-version }}
60+
- run: pnpm install --frozen-lockfile --prefer-offline
61+
- run: pnpm moon run :build
62+
63+
- name: Run benchmarks
64+
run: |
65+
valgrind --tool=callgrind pnpm moon run :bench

0 commit comments

Comments
 (0)