Skip to content

Commit

Permalink
chore: Update npm publish command and registry URL in release.yml wor…
Browse files Browse the repository at this point in the history
…kflow
  • Loading branch information
spa5k committed Jul 1, 2024
1 parent 11ec7b7 commit dce59bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
with:
node-version: 22
cache: "pnpm"
registry-url: "https://registry.npmjs.org"
- run: pnpm install
- run: pnpm test
- run: pnpm build
Expand All @@ -55,6 +56,7 @@ jobs:
with:
commit_message: Released $VERSION

- run: npm publish --access public --verbose
- name: Publish to NPM
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit dce59bc

Please sign in to comment.