Skip to content

Commit e805106

Browse files
committed
ci: publish with npm trusted publishing
1 parent 73e10f6 commit e805106

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
version: 11.11.0
2020
- uses: actions/setup-node@v6
2121
with:
22-
node-version: 22
22+
node-version: 24
2323
cache: pnpm
2424
registry-url: https://registry.npmjs.org/
2525

@@ -43,6 +43,4 @@ jobs:
4343
with:
4444
body: ${{ steps.changelog.outputs.content }}
4545

46-
- run: pnpm publish --access public --provenance --no-git-checks
47-
env:
48-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
46+
- run: npm publish --access public --provenance --tag latest

0 commit comments

Comments
 (0)