Skip to content

Commit

Permalink
ncm-71 use pnpm in github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vordgi committed Apr 17, 2024
1 parent 5796edb commit c4c3ba0
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 @@ -17,10 +17,15 @@ jobs:
with:
node-version: '20'

- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8

- name: Install dependencies and build
run: |
npm ci
npm run build
pnpm install
pnpm run build
- name: Publish on main
if: "!contains(github.ref_name, 'canary')"
Expand Down

0 comments on commit c4c3ba0

Please sign in to comment.