Skip to content

Commit 6fae50c

Browse files
committed
ci: drop broken npm self-upgrade step and opt into Node 24 for actions
1 parent 6e6a081 commit 6fae50c

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ permissions:
99
contents: write
1010
id-token: write
1111

12+
env:
13+
# Opt every Node 20 action into Node 24 ahead of the June 2026 default flip
14+
# and the September 2026 Node 20 removal.
15+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
16+
1217
jobs:
1318
build:
1419
name: Build - ${{ matrix.target }}
@@ -248,9 +253,6 @@ jobs:
248253
node-version: "22"
249254
registry-url: "https://registry.npmjs.org"
250255

251-
- name: Update npm to latest
252-
run: npm install -g npm@latest && npm -v
253-
254256
- name: Copy binaries to npm packages
255257
run: |
256258
# Copy macOS binary

0 commit comments

Comments
 (0)