We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5018725 commit cd71224Copy full SHA for cd71224
.github/workflows/deploy.yml
@@ -34,11 +34,18 @@ jobs:
34
uses: actions/checkout@v4
35
with:
36
fetch-depth: 0
37
- - name: Install dependencies
38
- run: npm install -g pnpm && pnpm install
+ - name: Setup pnpm
+ uses: pnpm/action-setup@v4
39
+ with:
40
+ version: 8
41
+ - name: Setup Node.js
42
+ uses: actions/setup-node@v4
43
44
+ node-version: '20'
45
+ cache: 'pnpm'
46
- name: Install dependencies and build
47
run: |
- pnpm install --no-frozen-lockfile
48
+ pnpm install --frozen-lockfile
49
pnpm run build
50
- name: Install Aliyun OSS CLI
51
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
0 commit comments