5252 - name : Use Node LTS version
5353 uses : actions/setup-node@v4
5454 with :
55- node-version : 18
55+ node-version : 20
5656 cache : yarn
5757 cache-dependency-path : yarn.lock
5858
6868 path : |
6969 .cache/yarn
7070 node_modules
71- key : ubuntu-latest-node18 -${{ hashFiles('yarn.lock') }}
71+ key : ubuntu-latest-node20 -${{ hashFiles('yarn.lock') }}
7272
7373 # # --- INSTALL --- ##
7474 # note: if cache-hit isn't needed b/c yarn will leverage the cache if it exists
@@ -88,13 +88,13 @@ jobs:
8888 - name : Download build artifacts for head
8989 uses : actions/download-artifact@v4
9090 with :
91- name : ubuntu-latest-node18 -compiled-assets-${{ steps.derive-key.outputs.head-path }}
91+ name : ubuntu-latest-node20 -compiled-assets-${{ steps.derive-key.outputs.head-path }}
9292 path : ${{ github.workspace }}/${{ steps.derive-key.outputs.head-path }}
9393
9494 - name : Download build artifacts for base
9595 uses : actions/download-artifact@v4
9696 with :
97- name : ubuntu-latest-node18 -compiled-assets-${{ steps.derive-key.outputs.base-path }}
97+ name : ubuntu-latest-node20 -compiled-assets-${{ steps.derive-key.outputs.base-path }}
9898 path : ${{ github.workspace }}/${{ steps.derive-key.outputs.base-path }}
9999
100100 - name : Compare compiled output file size
@@ -153,7 +153,7 @@ jobs:
153153 run : |
154154 BRANCH=${{ matrix.branch }}
155155 BRANCH=${BRANCH//\//_}
156- echo "key=ubuntu-latest-node18 -compiled-assets-${BRANCH}" >> "$GITHUB_OUTPUT"
156+ echo "key=ubuntu-latest-node20 -compiled-assets-${BRANCH}" >> "$GITHUB_OUTPUT"
157157
158158 - name : Check if build artifacts already exist
159159 uses : actions/download-artifact@v4
@@ -177,7 +177,7 @@ jobs:
177177 - name : Use Node LTS version
178178 uses : actions/setup-node@v4
179179 with :
180- node-version : 18
180+ node-version : 20
181181 cache : yarn
182182
183183 - name : Enable Corepack
@@ -192,7 +192,7 @@ jobs:
192192 path : |
193193 .cache/yarn
194194 node_modules
195- key : ubuntu-latest-node18 -${{ hashFiles('yarn.lock') }}
195+ key : ubuntu-latest-node20 -${{ hashFiles('yarn.lock') }}
196196
197197 # # --- INSTALL --- ##
198198 # note: if cache-hit isn't needed b/c yarn will leverage the cache if it exists
0 commit comments