77 env :
88 GH_PR_NUM : ${{ github.event.number }}
99 steps :
10- - uses : actions/checkout@v2
10+ - uses : actions/checkout@v4
1111 - run : |
1212 if [[ ! -z "${GH_PR_NUM}" ]]; then
1313 echo "Checking out PR"
1414 git fetch origin pull/$GH_PR_NUM/head:tmp
1515 git checkout tmp
1616 fi
17- - uses : actions/setup-node@v1
17+ - uses : actions/setup-node@v4
1818 with :
19- node-version : ' 18'
19+ node-version : ' 22'
20+ - run : corepack enable
2021 - uses : actions/cache@v4
2122 id : yarn-cache
22- name : Cache npm deps
23+ name : Cache yarn deps
2324 with :
2425 path : |
2526 node_modules
2627 **/node_modules
2728 key : ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
28- - run : yarn install --frozen-lockfile
29+ - run : yarn install --immutable
2930 if : steps.yarn-cache.outputs.cache-hit != 'true'
3031 - uses : actions/cache@v4
3132 id : dist
@@ -43,25 +44,26 @@ jobs:
4344 GH_PR_NUM : ${{ github.event.number }}
4445 needs : build
4546 steps :
46- - uses : actions/checkout@v2
47+ - uses : actions/checkout@v4
4748 - run : |
4849 if [[ ! -z "${GH_PR_NUM}" ]]; then
4950 echo "Checking out PR"
5051 git fetch origin pull/$GH_PR_NUM/head:tmp
5152 git checkout tmp
5253 fi
53- - uses : actions/setup-node@v1
54+ - uses : actions/setup-node@v4
5455 with :
55- node-version : ' 18'
56+ node-version : ' 22'
57+ - run : corepack enable
5658 - uses : actions/cache@v4
5759 id : yarn-cache
58- name : Cache npm deps
60+ name : Cache yarn deps
5961 with :
6062 path : |
6163 node_modules
6264 **/node_modules
6365 key : ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
64- - run : yarn install --frozen-lockfile
66+ - run : yarn install --immutable
6567 if : steps.yarn-cache.outputs.cache-hit != 'true'
6668 - uses : actions/cache@v4
6769 id : lint-cache
@@ -79,27 +81,28 @@ jobs:
7981 GH_PR_NUM : ${{ github.event.number }}
8082 needs : build
8183 steps :
82- - uses : actions/checkout@v2
84+ - uses : actions/checkout@v4
8385 # Yes, we really want to checkout the PR
8486 - run : |
8587 if [[ ! -z "${GH_PR_NUM}" ]]; then
8688 echo "Checking out PR"
8789 git fetch origin pull/$GH_PR_NUM/head:tmp
8890 git checkout tmp
8991 fi
90- - uses : actions/setup-node@v1
92+ - uses : actions/setup-node@v4
9193 with :
92- node-version : ' 18'
94+ node-version : ' 22'
95+ - run : corepack enable
9396 - uses : actions/cache@v4
9497 id : yarn-cache
95- name : Cache npm deps
98+ name : Cache yarn deps
9699 with :
97100 path : |
98101 node_modules
99102 **/node_modules
100103 ~/.cache/Cypress
101104 key : ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
102- - run : yarn install --frozen-lockfile
105+ - run : yarn install --immutable
103106 if : steps.yarn-cache.outputs.cache-hit != 'true'
104107 - uses : actions/cache@v4
105108 id : dist
@@ -120,27 +123,28 @@ jobs:
120123 GH_PR_NUM : ${{ github.event.number }}
121124 needs : build
122125 steps :
123- - uses : actions/checkout@v2
126+ - uses : actions/checkout@v4
124127 # Yes, we really want to checkout the PR
125128 - run : |
126129 if [[ ! -z "${GH_PR_NUM}" ]]; then
127130 echo "Checking out PR"
128131 git fetch origin pull/$GH_PR_NUM/head:tmp
129132 git checkout tmp
130133 fi
131- - uses : actions/setup-node@v1
134+ - uses : actions/setup-node@v4
132135 with :
133- node-version : ' 18'
136+ node-version : ' 22'
137+ - run : corepack enable
134138 - uses : actions/cache@v4
135139 id : yarn-cache
136- name : Cache npm deps
140+ name : Cache yarn deps
137141 with :
138142 path : |
139143 node_modules
140144 **/node_modules
141145 ~/.cache/Cypress
142146 key : ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
143- - run : yarn install --frozen-lockfile
147+ - run : yarn install --immutable
144148 if : steps.yarn-cache.outputs.cache-hit != 'true'
145149 - uses : actions/cache@v4
146150 id : dist
0 commit comments