Skip to content

Commit bf1e022

Browse files
chore(ci): switch publish to OIDC trusted publishing (#1839)
1 parent 9edbab7 commit bf1e022

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,12 @@ jobs:
5959
with:
6060
node-version: 24
6161
cache: npm
62-
registry-url: 'https://registry.npmjs.org'
6362

6463
- run: npm ci
6564

65+
- name: Ensure npm CLI supports OIDC trusted publishing
66+
run: npm install -g npm@11.5.1
67+
6668
- name: Determine npm tag
6769
id: npm-tag
6870
run: |
@@ -85,5 +87,3 @@ jobs:
8587
fi
8688
8789
- run: npm publish --provenance --access public ${{ steps.npm-tag.outputs.tag }}
88-
env:
89-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)