Skip to content

Commit 3554bcf

Browse files
authored
ci: use pnpm/action-setup for pnpm (#108)
1 parent f24f4d5 commit 3554bcf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci-build-all-pm.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,16 @@ jobs:
9696
- uses: actions/download-artifact@v4
9797
with:
9898
name: build
99+
- name: Install pnpm
100+
uses: pnpm/action-setup@v4
101+
with:
102+
version: latest
99103
- name: Setup Node.js
100104
uses: actions/setup-node@v4
101105
with:
102106
node-version: "lts/*"
103107
- name: pnpm add
104108
run: |
105-
corepack enable pnpm
106-
corepack use pnpm@latest
107109
cat > .npmrc <<EOT
108110
auto-install-peers=true
109111
node-linker=hoisted

0 commit comments

Comments
 (0)