Skip to content

Commit 6bf5383

Browse files
ryan-williamsclaude
andcommitted
ci(build-dist): bump Node 20 → 22 to match other workflows
`packages/vscode` runs `tsx scripts/schema.ts` in its `prepare` hook, which transitively calls `ts-json-schema-generator` → `fs.globSync` — a Node 22+ API. The other workflows (autofix / test / smoke / release) already use `lts/*` (≥22); only this one was pinned to 20 via the `runsascoded/npm-dist@v1` default. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 998c4aa commit 6bf5383

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build-dist.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
- uses: runsascoded/npm-dist@v1
2121
with:
2222
source_ref: ${{ inputs.source_ref || 'main' }}
23+
# Match the other workflows (autofix/test/smoke/release) which use Node 22 LTS.
24+
# Slidev's `packages/vscode` prepare hook calls `fs.globSync` (Node 22+ only).
25+
node_version: '22'
2326
build_command: pnpm run build
2427
pkgs: |
2528
packages/client

0 commit comments

Comments
 (0)