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"
2222 name : Cache npm deps
2323 with :
2424 path : |
25- node_modules
26- **/node_modules
25+ node_modules
26+ **/node_modules
2727 key : ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
2828 - run : yarn install --frozen-lockfile
2929 if : steps.yarn-cache.outputs.cache-hit != 'true'
4343 GH_PR_NUM : ${{ github.event.number }}
4444 needs : build
4545 steps :
46- - uses : actions/checkout@v2
46+ - uses : actions/checkout@v4
4747 - run : |
4848 if [[ ! -z "${GH_PR_NUM}" ]]; then
4949 echo "Checking out PR"
5858 name : Cache npm deps
5959 with :
6060 path : |
61- node_modules
62- **/node_modules
61+ node_modules
62+ **/node_modules
6363 key : ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
6464 - run : yarn install --frozen-lockfile
6565 if : steps.yarn-cache.outputs.cache-hit != 'true'
7979 GH_PR_NUM : ${{ github.event.number }}
8080 needs : build
8181 steps :
82- - uses : actions/checkout@v2
82+ - uses : actions/checkout@v4
8383 # Yes, we really want to checkout the PR
8484 - run : |
8585 if [[ ! -z "${GH_PR_NUM}" ]]; then
9595 name : Cache npm deps
9696 with :
9797 path : |
98- node_modules
99- **/node_modules
100- ~/.cache/Cypress
98+ node_modules
99+ **/node_modules
100+ ~/.cache/Cypress
101101 key : ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
102102 - run : yarn install --frozen-lockfile
103103 if : steps.yarn-cache.outputs.cache-hit != 'true'
@@ -120,7 +120,7 @@ jobs:
120120 GH_PR_NUM : ${{ github.event.number }}
121121 needs : build
122122 steps :
123- - uses : actions/checkout@v2
123+ - uses : actions/checkout@v4
124124 # Yes, we really want to checkout the PR
125125 - run : |
126126 if [[ ! -z "${GH_PR_NUM}" ]]; then
@@ -136,9 +136,9 @@ jobs:
136136 name : Cache npm deps
137137 with :
138138 path : |
139- node_modules
140- **/node_modules
141- ~/.cache/Cypress
139+ node_modules
140+ **/node_modules
141+ ~/.cache/Cypress
142142 key : ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
143143 - run : yarn install --frozen-lockfile
144144 if : steps.yarn-cache.outputs.cache-hit != 'true'
0 commit comments