Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nakasyou authored Dec 28, 2024
1 parent f35789f commit 16f07de
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:
uses: denoland/setup-deno@v2.0.0
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Install deps
run: bun i
- name: Build
Expand All @@ -29,6 +33,6 @@ jobs:
echo "Updating package.json version to $VERSION"
npm version --no-git-tag-version $VERSION
- name: Publish to npm
run: npm publish
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_SECRET }}

0 comments on commit 16f07de

Please sign in to comment.