Skip to content

Commit 22011da

Browse files
committed
Use pnpm i -g
1 parent cdfc1fc commit 22011da

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/faster-template-prebuild-vercel-tutor.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
name: Prebuild Vercel Tutor
22

3-
on:
4-
push:
5-
branches:
6-
- main
7-
workflow_dispatch:
8-
inputs:
3+
on: push
94

105
jobs:
116
clone-build-deploy:
@@ -21,16 +16,15 @@ jobs:
2116

2217
- run: |
2318
node --version
24-
npm --version
19+
corepack enable
2520
2621
- run: |
27-
npm install -g vercel@latest
22+
pnpm i -g vercel@latest
2823
vc --version
2924
3025
- working-directory: ./vercel-tutor
3126
run: |
32-
corepack enable
33-
pnpm install
27+
pnpm i
3428
env:
3529
NPM_CONFIG_LOGLEVEL: http
3630

0 commit comments

Comments
 (0)