Skip to content

Commit a8f236e

Browse files
author
wangjue
committed
ci: 更新 pnpm 的安装方式
1 parent e92debb commit a8f236e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/nodejs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ jobs:
2222
uses: actions/setup-node@v1
2323
with:
2424
node-version: ${{ matrix.node-version }}
25+
- name: Install Pnpm
26+
run: |
27+
npm install -g corepack@latest --force
28+
corepack enable
2529
- name: install, build, and test
2630
run: |
2731
pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)