Bump release workflow's Node to 22 - pnpm 11 needs it to even run
Release / release (push) Canceled after 8m18s
Release / release (push) Canceled after 8m18s
pnpm 11.21.0 (pinned in packageManager) now uses node:sqlite internally, which requires Node >=22.13 - unrelated to this project's own engines.node: >=20 floor for end users. With node-version: 20 the runner's pnpm binary couldn't execute at all (ERR_UNKNOWN_BUILTIN_MODULE on the first pnpm invocation inside actions/setup-node's cache-path detection), before ever reaching the actual lint/build/publish steps. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -17,7 +17,7 @@ jobs:
|
||||
|
||||
- uses: https://github.com/actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: pnpm
|
||||
registry-url: https://dev.pivoine.art/api/packages/valknar/npm/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user