Skip to content

Commit c477127

Browse files
committed
Update npm for trusted publishing.
1 parent e17fff7 commit c477127

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎.github/workflows/publish-new-npm-packages.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ jobs:
3333
registry-url: https://registry.npmjs.org
3434
package-manager-cache: false
3535

36+
- name: Update npm for trusted publishing
37+
run: npm install -g npm@latest
38+
3639
- name: Enable Corepack
3740
run: corepack enable
3841

@@ -52,5 +55,3 @@ jobs:
5255
- name: Publish missing packages
5356
if: ${{ !inputs.dry_run }}
5457
run: yarn publish-new-packages --publish
55-
env:
56-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)