Skip to content

Commit

Permalink
Take two on publishing from CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwilsonvu committed Sep 1, 2024
1 parent 6ad012d commit 1542eab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
with:
node-version: ${{ matrix.node }}
cache: "pnpm"
registry-url: https://registry.npmjs.org/

- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand All @@ -45,5 +46,5 @@ jobs:
- name: Publish to npm if needed
if: github.ref == 'refs/heads/main' && matrix.node == '22'
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm publish -r --no-git-checks

0 comments on commit 1542eab

Please sign in to comment.