Skip to content

Commit fd45622

Browse files
committed
fix again
1 parent eaaeeae commit fd45622

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff 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: |

0 commit comments

Comments
 (0)