Skip to content

Commit

Permalink
chore: allow releases to NPM (#916)
Browse files Browse the repository at this point in the history
* chore: implement fix

* Apply suggestions from code review
  • Loading branch information
petertonysmith94 authored Feb 19, 2025
1 parent de35fca commit 9478991
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ jobs:
- publish
if: github.event_name == 'release' && github.event.action == 'published'
runs-on: buildjet-4vcpu-ubuntu-2204

environment: npm-deploy
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -315,9 +315,9 @@ jobs:
- name: Ensure NPM access
run: npm whoami
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_VM }}

- name: Publish
run: pnpm -C .npm publish -r --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_VM }}

0 comments on commit 9478991

Please sign in to comment.