Skip to content

Commit f46eac8

Browse files
authored
fix: stabilize npm publishing runtime (#143)
1 parent 23fb654 commit f46eac8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ jobs:
128128
- name: Set up Node.js
129129
uses: actions/setup-node@v4
130130
with:
131-
node-version: "20"
131+
node-version: "24"
132132
registry-url: "https://registry.npmjs.org"
133133

134134
- name: Upgrade npm
135-
# Trusted publishing (OIDC) requires npm >= 11.5.1, newer than the
136-
# version bundled with Node 20.
137-
run: npm install -g npm@latest
135+
# Trusted publishing (OIDC) requires npm >= 11.5.1. Pin the major so
136+
# a future npm release cannot unexpectedly require a newer runtime.
137+
run: npm install -g npm@11
138138

139139
- name: Get version from tag
140140
id: version

0 commit comments

Comments
 (0)