Skip to content

Commit b6221b4

Browse files
committed
fix: troubleshoot npm publish error after changing to trusted publishers
1 parent 4ab3383 commit b6221b4

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/cd.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ jobs:
127127
- name: Setup Node.js
128128
uses: actions/setup-node@v4
129129
with:
130-
node-version: '20'
131-
registry-url: 'https://registry.npmjs.org'
130+
node-version: '22'
132131

133132
- name: Setup Python
134133
uses: actions/setup-python@v5

.github/workflows/manual-publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ jobs:
3636
- name: Setup Node.js
3737
uses: actions/setup-node@v4
3838
with:
39-
node-version: '18'
40-
registry-url: 'https://registry.npmjs.org'
39+
node-version: '22'
4140

4241
- name: Install dependencies
4342
run: npm ci

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ jobs:
4242
- name: Setup Node.js
4343
uses: actions/setup-node@v4
4444
with:
45-
node-version: '18'
46-
registry-url: 'https://registry.npmjs.org'
45+
node-version: '22'
4746

4847
- name: Install dependencies
4948
run: npm ci

0 commit comments

Comments
 (0)