File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 23
23
fetch-depth : 0
24
24
25
25
- name : Set up pnpm
26
- uses : pnpm/action-setup@v2
26
+ uses : pnpm/action-setup@v4
27
27
with :
28
28
version : latest
29
+ run_install : false
30
+
31
+ - name : Install Node.js
32
+ uses : actions/setup-node@v4
33
+ with :
34
+ node-version : 20
35
+ cache : ' pnpm'
36
+
37
+ - name : Get pnpm store directory
38
+ shell : bash
39
+ run : |
40
+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
41
+
42
+ - uses : actions/cache@v4
43
+ name : Setup pnpm cache
44
+ with :
45
+ path : ${{ env.STORE_PATH }}
46
+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
47
+ restore-keys : |
48
+ ${{ runner.os }}-pnpm-store-
29
49
30
50
- name : Deploy Storybook
31
51
uses : bitovi/github-actions-storybook-to-github-pages@v1.0.2
You can’t perform that action at this time.
0 commit comments