File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -267,13 +267,19 @@ jobs:
267267 uses : actions/cache@v4
268268 with :
269269 path : ~/.cache/Cypress
270- key : binary-${{ env.node-version-prerelease }}-${{ hashFiles('volto-add-on/pnpm-lock.yaml','volto-add-on/package.json','volto-add-on/mrs.developer.json') }}
270+ key : Cypress- binary-${{ env.node-version }}-${{ hashFiles('volto-add-on/pnpm-lock.yaml', 'volto-add-on/package.json','volto-add-on/mrs.developer.json') }}
271271
272272 - name : Install generated package
273273 working-directory : ${{ env.name }}
274274 run : |
275275 make install
276276
277+ - name : Install Cypress if not in cache
278+ if : steps.cache-cypress-binary.outputs.cache-hit != 'true'
279+ working-directory : ${{ env.name }}
280+ shell : bash
281+ run : ' NODEBIN=$(pnpm bin) && $NODEBIN/cypress install'
282+
277283 - name : Run unit tests
278284 working-directory : ${{ env.name }}
279285 run : |
You can’t perform that action at this time.
0 commit comments