Skip to content

Commit 4d2e207

Browse files
committed
Update npm before publishing
We need 11.5.1 for trusted publishing
1 parent 55082ac commit 4d2e207

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,9 @@ jobs:
229229
ls -lh dist/js/
230230
- name: Collect js Artifact
231231
run: mv .repo/packages/microapps-cdk/dist dist
232+
# Ensure npm 11.5.1 or later is installed
233+
- name: Update npm
234+
run: npm install -g npm@latest
232235
- name: Release
233236
run: |
234237
if [ "${{ github.event_name }}" == "pull_request" ]; then
@@ -280,6 +283,9 @@ jobs:
280283
with:
281284
name: router-lib-dist
282285
path: packages/microapps-router-lib
286+
# Ensure npm 11.5.1 or later is installed
287+
- name: Update npm
288+
run: npm install -g npm@latest
283289
#
284290
# Publish other non-JSII Artifacts to NPM
285291
#

0 commit comments

Comments
 (0)