Skip to content

Commit c40298e

Browse files
committed
ci: try to fix npm i -g npm
1 parent 25ea4e6 commit c40298e

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/part-build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,16 @@ jobs:
6767
steps:
6868
- uses: actions/checkout@v5
6969

70+
# setup-node and update npm are only here to preemptively test
71+
# the required install of npm@11 that's needed for OIDC npm publish
72+
- uses: actions/setup-node@v6
73+
with:
74+
node-version: 24.x
75+
registry-url: "https://registry.npmjs.org"
76+
77+
- name: Update npm
78+
run: npm install -g npm@latest
79+
7080
- run: npm ci
7181
working-directory: ${{ github.workspace }}
7282

.github/workflows/part-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717

1818
- uses: actions/setup-node@v6
1919
with:
20+
node-version: 24.x
2021
registry-url: "https://registry.npmjs.org"
2122

2223
- name: Update npm

0 commit comments

Comments
 (0)