File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,26 +13,22 @@ jobs:
1313 build :
1414 runs-on : ubuntu-latest
1515
16- strategy :
17- matrix :
18- node-version : [20.x]
19-
2016 steps :
21- - uses : actions/checkout@v3
17+ - uses : actions/checkout@v4
2218
23- - name : Use Node.js ${{ matrix.node-version }}
24- uses : actions/setup-node@v3
19+ - name : Use Node.js
20+ uses : actions/setup-node@v4
2521 with :
26- node-version : ${{ matrix.node-version }}
22+ node-version-file : " package.json "
2723
2824 - name : Use pnpm
29- uses : pnpm/action-setup@v2
25+ uses : pnpm/action-setup@v4
3026 with :
3127 run_install : false
3228
3329 - name : Setup Pages
3430 id : pages-config
35- uses : actions/configure-pages@v3
31+ uses : actions/configure-pages@v5
3632
3733 - name : Get pnpm store directory
3834 id : pnpm-cache
4137 echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
4238
4339 - name : Setup pnpm cache
44- uses : actions/cache@v3
40+ uses : actions/cache@v4
4541 with :
4642 path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
4743 key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
5854 pnpm run build
5955
6056 - name : Upload GitHub Pages artifact
61- uses : actions/upload-pages-artifact@v1
57+ uses : actions/upload-pages-artifact@v3
6258 with :
6359 path : dist/
6460
7874 steps :
7975 - name : Deploy GitHub Pages site
8076 id : deployment
81- uses : actions/deploy-pages@v2
77+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments