File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -11,25 +11,25 @@ jobs:
11
11
12
12
steps :
13
13
- name : Checkout
14
- uses : actions/checkout@master
14
+ uses : actions/checkout@v4
15
15
16
- - name : Setup node env
17
- uses : actions/setup-node@v3
16
+ - name : Install pnpm
17
+ uses : pnpm/action-setup@v4
18
18
with :
19
- node-version : 20
19
+ version : 9
20
+ run_install : false
20
21
21
- - uses : pnpm/action-setup@v2
22
- name : Install pnpm
23
- id : pnpm-install
22
+ - name : Install Node.js
23
+ uses : actions/setup-node@v4
24
24
with :
25
- version : 8
26
- run_install : false
25
+ node-version : 20
26
+ cache : ' pnpm'
27
+
28
+ - name : Install dependencies
29
+ run : pnpm install
27
30
28
- - name : Install and Generate
29
- run : |
30
- # TODO - cache pnpm installation
31
- pnpm install
32
- pnpm generate # files are automatically sym-linked to dist/
31
+ - name : Generate static files
32
+ run : pnpm generate
33
33
34
34
- name : Deploy
35
35
uses : peaceiris/actions-gh-pages@v3
You can’t perform that action at this time.
0 commit comments