File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 2121 version : latest
2222
2323 - name : cache
24- uses : actions/cache@v2.1.1
24+ uses : actions/cache@v4
2525 with :
2626 path : |
2727 node_modules
Original file line number Diff line number Diff line change @@ -18,29 +18,35 @@ jobs:
1818 - name : setup node
1919 uses : actions/setup-node@v4
2020 with :
21- node-version : " 18.18.2"
21+ node-version : " 24.1.0"
22+
23+ - name : install pnpm
24+ uses : pnpm/action-setup@v4
25+ with :
26+ version : latest
2227
2328 - name : cache
24- uses : actions/cache@v3
29+ uses : actions/cache@v4
2530 with :
2631 path : |
2732 node_modules
28- key : ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
33+ ~/.pnpm-store
34+ key : ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
2935
3036 - name : install
3137 run : |
32- yarn install
38+ pnpm install
3339 npx playwright install --with-deps
3440
3541 - name : build
36- run : yarn run storybook:build
42+ run : pnpm storybook:build
3743
3844 - name : run server
3945 run : |
4046 python -m http.server 6006 --directory "${{ github.workspace }}/storybook-static" &
4147
4248 - name : e2e test
43- run : yarn e2e:ci
49+ run : pnpm e2e:ci
4450
4551 - uses : actions/upload-artifact@v4
4652 with :
You can’t perform that action at this time.
0 commit comments