Skip to content

Commit

Permalink
chore(workflows): publish npmjs
Browse files Browse the repository at this point in the history
publish npmjs
  • Loading branch information
snomiao committed Nov 18, 2024
1 parent 5caef4f commit 68b7e1b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ jobs:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: bun install
- run: npm publish --provenance --access public
env:
env:f
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 68b7e1b

Please sign in to comment.