Skip to content

Commit f457739

Browse files
committed
fixup! ci: check the prebuilt addon binds on every supported Node major
1 parent 9f111ed commit f457739

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,26 @@ jobs:
4848
with:
4949
key-suffix: native-abi
5050
- run: pnpm install --frozen-lockfile --prefer-offline
51-
# One prebuild set, built once, then loaded by every supported Node
52-
# major. The other jobs compile the addon with the same Node they run it
53-
# under, so they cannot see an ABI mismatch.
51+
# Build one prebuild set, then load it without rebuilding under each
52+
# runtime. The other jobs compile the addon with the Node version that
53+
# loads it, so they cannot detect an ABI mismatch.
5454
- run: pnpm turbo run build --filter=@codspeed/core
5555

5656
- uses: actions/setup-node@v6
5757
with:
58-
node-version: "22"
58+
node-version: "22.0.0"
5959
- run: node ${{ env.NODE_OPTS }} scripts/assert-native-binding.cjs
6060
- uses: actions/setup-node@v6
6161
with:
62-
node-version: "24"
62+
node-version: "22.23.2"
63+
- run: node ${{ env.NODE_OPTS }} scripts/assert-native-binding.cjs
64+
- uses: actions/setup-node@v6
65+
with:
66+
node-version: "24.0.0"
67+
- run: node ${{ env.NODE_OPTS }} scripts/assert-native-binding.cjs
68+
- uses: actions/setup-node@v6
69+
with:
70+
node-version: "24.20.0"
6371
- run: node ${{ env.NODE_OPTS }} scripts/assert-native-binding.cjs
6472

6573
list-examples:

0 commit comments

Comments
 (0)