Skip to content

Commit

Permalink
add pnpm to github action
Browse files Browse the repository at this point in the history
  • Loading branch information
aboutphilippe committed Aug 18, 2024
1 parent 377ecd4 commit ce5597b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ jobs:
with:
node-version: 20
registry-url: "https://registry.npmjs.org"
- run: npm install
- run: npm install -g pnpm
- run: pnpm install
working-directory: ./
- run: npm run build
- run: pnpm -r run build
working-directory: ./
- run: npm version patch
- run: pnpm version patch
working-directory: ./
- run: npm publish --access public
- run: pnpm publish --access public
working-directory: ./
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit ce5597b

Please sign in to comment.