Skip to content

Commit 8cfd582

Browse files
authored
ci: fix use of OIDC for publish lib workflow (#890)
Remove token from publish lib workflow
1 parent b29ef03 commit 8cfd582

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish-lib.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
- name: "Setup Node.js"
1919
uses: actions/setup-node@v6
2020
with:
21-
node-version: 22
21+
node-version: 24
2222
registry-url: https://registry.npmjs.org
23+
- name: "Update to latest npm to use OIDC"
24+
run: npm install -g npm@latest
2325
- name: "Install dependencies"
2426
run: pnpm install
2527
- name: Publish
2628
run: pnpm publish --access public
27-
env:
28-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)