Skip to content

Commit 9fc0248

Browse files
committed
chore(npm): use OIDC instead of token
1 parent 0143e48 commit 9fc0248

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
registry-url: 'https://registry.npmjs.org'
4141
cache: 'pnpm'
4242

43+
- run: npm i -g npm@latest
44+
4345
- run: pnpm install --frozen-lockfile
4446
- run: pnpm -r build
4547
- run: pnpm lint
@@ -61,7 +63,4 @@ jobs:
6163

6264
- name: Publish package
6365
working-directory: ${{ steps.package.outputs.path }}
64-
run: |
65-
npm publish --provenance --access public
66-
env:
67-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
66+
run: npm publish

0 commit comments

Comments
 (0)