We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5fd8fd commit ffb787eCopy full SHA for ffb787e
.github/workflows/deploy.yml
@@ -9,18 +9,21 @@ jobs:
9
build-and-deploy:
10
runs-on: ubuntu-latest
11
steps:
12
+ # 1. checkout 仓库
13
- uses: actions/checkout@v3
- - uses: actions/setup-node@v3
14
- with:
15
- node-version: 16
16
- cache: 'pnpm' # 配置缓存,优化安装性能
17
18
# 2. 设置pnpm包管理器
19
- name: Install pnpm
20
uses: pnpm/action-setup@v2
21
with:
22
version: 8
23
+ # 3. 设置pnpm包管理器
+ - uses: actions/setup-node@v3
+ with:
24
+ node-version: 16
25
+ cache: 'pnpm' # 配置缓存,优化安装性能
26
+
27
- name: build
28
run: pnpm install && pnpm run build:github # 部署至GitHub需要配置,base路径
29
0 commit comments