Skip to content

Commit 61229c8

Browse files
committed
ci(release): put back node-version and install npm instead to fix build error
1 parent 126bbc8 commit 61229c8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,11 +455,13 @@ jobs:
455455
- name: Setup environment
456456
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
457457
with:
458-
# We need to use node 24 for OIDC publishing support (npm >= 11.5.1).
459-
node-version: '24'
458+
node-version: '22'
460459
registry-url: 'https://registry.npmjs.org'
461460
cache: 'npm'
462461

462+
- name: Install npm ^11.5.1 for OIDC publishing support
463+
run: npm install -g npm@^11.5.1
464+
463465
- name: Install dependencies
464466
run: npm ci --no-audit
465467

0 commit comments

Comments
 (0)