Skip to content

Commit b3f3988

Browse files
committed
chore: add support for trusted publishers in npm
1 parent d0fc910 commit b3f3988

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/deploy.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,15 @@ jobs:
5050
git config --local user.name 'github-actions[bot]'
5151
git config --local user.email 'github-actions[bot]@users.noreply.github.com'
5252
53+
# Ensure npm 11.5.1 or later is installed
54+
- name: Update npm
55+
run: |
56+
echo 'BEFORE'
57+
npm -v
58+
npm install -g npm@latest
59+
echo 'AFTER'
60+
npm -v
61+
5362
- name: Publish to NPM
5463
if: github.event.inputs.pre_release != 'true'
5564
env:

0 commit comments

Comments
 (0)