99 pull_request :
1010 branches : [main]
1111
12+ env :
13+ NODE_VERSION : 22.20.0
14+ PNPM_VERSION : 10.18.3
15+
1216jobs :
1317 validate :
1418 name : Validate Using Latest Node LTS
@@ -17,10 +21,10 @@ jobs:
1721 - uses : actions/checkout@v3
1822 - uses : pnpm/action-setup@v2.2.4
1923 with :
20- version : 8
24+ version : ${{ env.PNPM_VERSION }}
2125 - uses : actions/setup-node@v3
2226 with :
23- node-version : 18
27+ node-version : ${{ env.NODE_VERSION }}
2428 cache : pnpm
2529
2630 - name : Run Lint and Typecheck
@@ -45,10 +49,10 @@ jobs:
4549 - uses : actions/checkout@v3
4650 - uses : pnpm/action-setup@v2.2.4
4751 with :
48- version : 8
52+ version : ${{ env.PNPM_VERSION }}
4953 - uses : actions/setup-node@v3
5054 with :
51- node-version : 18
55+ node-version : ${{ env.NODE_VERSION }}
5256 cache : pnpm
5357
5458 - name : Build website
@@ -76,10 +80,10 @@ jobs:
7680 - uses : actions/checkout@v3
7781 - uses : pnpm/action-setup@v2.2.4
7882 with :
79- version : 8
83+ version : ${{ env.PNPM_VERSION }}
8084 - uses : actions/setup-node@v3
8185 with :
82- node-version : 18
86+ node-version : ${{ env.NODE_VERSION }}
8387 cache : pnpm
8488
8589 - name : Download the build folders
@@ -131,10 +135,10 @@ jobs:
131135 - uses : actions/checkout@v3
132136 - uses : pnpm/action-setup@v2.2.4
133137 with :
134- version : 8
138+ version : ${{ env.PNPM_VERSION }}
135139 - uses : actions/setup-node@v3
136140 with :
137- node-version : 18
141+ node-version : ${{ env.NODE_VERSION }}
138142 cache : pnpm
139143
140144 - name : Download the build folders
0 commit comments