Skip to content

Commit 5f9416d

Browse files
committed
ci: support trusted publishing
1 parent 0552b35 commit 5f9416d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,8 @@ jobs:
3434
node-version-file: .node-version
3535
cache: pnpm
3636
registry-url: "https://registry.npmjs.org"
37+
- run: npm install -g npm@latest
3738
- run: pnpm install
3839
- run: pnpm release
3940
env:
40-
NPM_CONFIG_PROVENANCE: true
41-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
42-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4341
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)