Skip to content

Commit 8b1e2a0

Browse files
committed
fix(publish): use Node.js 22 to match CLI engine requirement (>=22.5.0)
CLI requires node:sqlite which was added in Node 22.5.0. The publish workflow was using Node 20, causing the smoke test to fail with a version check error. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent bb6e3d9 commit 8b1e2a0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/publish.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
- uses: actions/setup-node@v4
2727
with:
28-
node-version: 20
28+
node-version: 22
2929

3030
- name: Install dependencies
3131
run: npm ci
@@ -49,7 +49,7 @@ jobs:
4949

5050
- uses: actions/setup-node@v4
5151
with:
52-
node-version: 20
52+
node-version: 22
5353
registry-url: 'https://registry.npmjs.org'
5454

5555
- name: Determine version
@@ -108,7 +108,7 @@ jobs:
108108

109109
- uses: actions/setup-node@v4
110110
with:
111-
node-version: 20
111+
node-version: 22
112112
registry-url: 'https://registry.npmjs.org'
113113

114114
- name: Determine version

0 commit comments

Comments
 (0)