File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -257,17 +257,12 @@ jobs:
257257 - name : Install Playwright dependencies
258258 run : npx playwright install-deps webkit
259259
260- - name : Download node_modules from artifacts
261- id : download_node_modules
262- uses : actions/download-artifact@v4
263- continue-on-error : true
260+ - name : Restore modern node_modules cache
261+ uses : actions/cache@v4
264262 with :
265- name : modern-node-modules-${{ hashFiles('**/package-lock.json') }}
266- path : node_modules
267-
268- - name : Install dependencies
269- if : steps.download_node_modules.outcome != 'success'
270- run : npm ci
263+ path : |
264+ node_modules
265+ key : ${{ runner.os }}-modern-node-modules-${{ hashFiles('**/package-lock.json') }}
271266
272267 - name : Install playwright browsers
273268 run : npx playwright install
You can’t perform that action at this time.
0 commit comments