@@ -16,7 +16,6 @@ concurrency:
1616 cancel-in-progress : true
1717
1818env :
19- FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 : true
2019 PUBLIC_BASE_PATH : ${{ vars.PUBLIC_BASE_PATH }}
2120 PUBLIC_NOINDEX : ${{ vars.PUBLIC_NOINDEX || 'true' }}
2221
@@ -28,33 +27,21 @@ jobs:
2827 runs-on : ubuntu-latest
2928 steps :
3029 - name : Checkout
31- uses : actions/checkout@v4
30+ uses : actions/checkout@v6
3231 with :
3332 fetch-depth : 0
3433
3534 - name : Setup Node.js
36- uses : actions/setup-node@v4
35+ uses : actions/setup-node@v6
3736 with :
3837 node-version : ' 22'
38+ cache : pnpm
3939
4040 - name : Setup pnpm
41- uses : pnpm/action-setup@v4
41+ uses : pnpm/action-setup@v5
4242 with :
4343 version : 10
4444
45- - name : Get pnpm store directory
46- id : pnpm-cache
47- shell : bash
48- run : echo "STORE_PATH=$(pnpm store path)" >> "$GITHUB_OUTPUT"
49-
50- - name : Setup pnpm cache
51- uses : actions/cache@v4
52- with :
53- path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
54- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
55- restore-keys : |
56- ${{ runner.os }}-pnpm-store-
57-
5845 - name : Install dependencies
5946 run : pnpm install --frozen-lockfile
6047
@@ -88,31 +75,19 @@ jobs:
8875 runs-on : ubuntu-latest
8976 steps :
9077 - name : Checkout
91- uses : actions/checkout@v4
78+ uses : actions/checkout@v6
9279
9380 - name : Setup Node.js
94- uses : actions/setup-node@v4
81+ uses : actions/setup-node@v6
9582 with :
9683 node-version : ' 22'
84+ cache : pnpm
9785
9886 - name : Setup pnpm
99- uses : pnpm/action-setup@v4
87+ uses : pnpm/action-setup@v5
10088 with :
10189 version : 10
10290
103- - name : Get pnpm store directory
104- id : pnpm-cache
105- shell : bash
106- run : echo "STORE_PATH=$(pnpm store path)" >> "$GITHUB_OUTPUT"
107-
108- - name : Setup pnpm cache
109- uses : actions/cache@v4
110- with :
111- path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
112- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
113- restore-keys : |
114- ${{ runner.os }}-pnpm-store-
115-
11691 - name : Install dependencies
11792 run : pnpm install --frozen-lockfile
11893
@@ -126,7 +101,7 @@ jobs:
126101 run : pnpm build
127102
128103 - name : Upload Pages artifact
129- uses : actions/upload-pages-artifact@v3
104+ uses : actions/upload-pages-artifact@v4
130105 with :
131106 path : ./dist
132107
@@ -139,4 +114,4 @@ jobs:
139114 steps :
140115 - name : Deploy to GitHub Pages
141116 id : deployment
142- uses : actions/deploy-pages@v4
117+ uses : actions/deploy-pages@v5
0 commit comments