Skip to content

Commit dfaa0ad

Browse files
authored
Bump E2E workflow Node.js to 22 (#1049)
The latest pnpm (11.1.3) requires Node.js v22.13+ and imports `node:sqlite`, a built-in module that doesn't exist in Node 20. `actions/setup-node@v4` crashes when setting up the pnpm cache, breaking the E2E job on every run since #1044. Bumping to Node 22 restores compatibility with the pnpm version pulled in by `pnpm/action-setup@v4` (version: latest).
1 parent 51999d8 commit dfaa0ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/e2e-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- uses: actions/setup-node@v4
2222
with:
23-
node-version: '20'
23+
node-version: '22'
2424
cache: pnpm
2525
cache-dependency-path: tests/e2e/pnpm-lock.yaml
2626

0 commit comments

Comments
 (0)