Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sammy-T committed Jun 26, 2024
1 parent f14b946 commit 4131bbc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
- run: pnpm install
- run: pnpm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 4131bbc

Please sign in to comment.