Skip to content

Commit

Permalink
Install pnpm without corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
longnguyen2004 committed Jan 24, 2025
1 parent 490ebde commit fd5fd60
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/publish_prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- uses: actions/setup-node@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
Expand All @@ -20,4 +26,5 @@ jobs:
- name: Build
run: pnpm build

- run: pnpx pkg-pr-new publish
- name: Publish
run: pnpx pkg-pr-new publish

0 comments on commit fd5fd60

Please sign in to comment.