Skip to content

Commit

Permalink
fix ghpr not installing deps on publish
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
sr229 authored Oct 10, 2024
1 parent bd0adb6 commit c40479c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
- uses: pnpm/action-setup@v4
with:
version: 9
- run: pnpm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

release-npm:
runs-on: ubuntu-latest
Expand All @@ -36,7 +37,10 @@ jobs:
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- run: npm i -g pnpm && pnpm install
- uses: pnpm/action-setup@v4
with:
version: 9
- run: pnpm install
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
Binary file modified bun.lockb
Binary file not shown.

0 comments on commit c40479c

Please sign in to comment.