Skip to content

Commit 9b909c4

Browse files
committed
fix: use Node.js 22.x for tests, keep 24.x for release
Node.js 24 changes content-encoding header behavior in HTTP/2 - it now correctly removes the content-encoding header after automatic decompression (returning null instead of 'gzip'). This breaks existing tests. Keep Node.js 22.x for tests to maintain compatibility while using Node.js 24.x for releases which requires OIDC support for npm provenance. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Lars Trieloff <lars@trieloff.net>
1 parent 5da1062 commit 9b909c4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
runs-on: macos-latest
1717
steps:
1818
- uses: actions/checkout@v5
19-
- name: Use Node.js 24.x
19+
- name: Use Node.js 22.x
2020
uses: actions/setup-node@v5
2121
with:
22-
node-version: '24.x'
22+
node-version: '22.x'
2323
- run: npm ci
2424
- run: npm run lint
2525
- run: npm test

0 commit comments

Comments
 (0)