File tree 1 file changed +30
-0
lines changed
1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 31
31
steps :
32
32
- name : Checkout
33
33
uses : actions/checkout@v4
34
+ - name : Install Node.js
35
+ uses : actions/setup-node@v4
36
+ with :
37
+ node-version : 20
38
+
39
+ - uses : pnpm/action-setup@v3
40
+ name : Install pnpm
41
+ with :
42
+ version : 8
43
+ run_install : false
44
+
45
+ - name : Get pnpm store directory
46
+ shell : bash
47
+ run : |
48
+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
49
+
50
+ - uses : actions/cache@v4
51
+ name : Setup pnpm cache
52
+ with :
53
+ path : ${{ env.STORE_PATH }}
54
+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
55
+ restore-keys : |
56
+ ${{ runner.os }}-pnpm-store-
57
+
58
+ - name : Install dependencies
59
+ run : pnpm install
60
+
61
+ - name : Build
62
+ run : pnpm build
63
+
34
64
- name : Setup Pages
35
65
uses : actions/configure-pages@v5
36
66
- name : Upload artifact
You can’t perform that action at this time.
0 commit comments