Skip to content

Commit 396989d

Browse files
Ensure npm is updated
1 parent ce18de3 commit 396989d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,9 @@ jobs:
364364
- build-windows
365365
steps:
366366
- name: Update npm # required to support npm trusted publishing
367-
run: sudo npm install -g npm@latest
367+
run: |
368+
sudo npm install -g npm@latest
369+
npm --version
368370
- name: Checkout repo
369371
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
370372
with:
@@ -421,4 +423,6 @@ jobs:
421423
- name: Prepare for publish
422424
run: ./build-scripts/add-os-restrictions.js
423425
- name: Publish packages to npm
424-
run: yarn publish-packages
426+
run: |
427+
npm --version
428+
yarn publish-packages

0 commit comments

Comments
 (0)