diff options
-rw-r--r-- | .github/workflows/cypress.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 356ea0970c9..f0281cfd309 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -115,9 +115,14 @@ jobs: - name: Set up npm ${{ needs.init.outputs.npmVersion }} run: npm i -g 'npm@${{ needs.init.outputs.npmVersion }}' + - name: Install cypress + run: ./node_modules/cypress/bin/cypress install + - name: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} cypress tests uses: cypress-io/github-action@df7484c5ba85def7eef30db301afa688187bc378 # v6.7.2 with: + # We already installed the dependencies in the init job + install: false component: ${{ matrix.containers == 'component' }} group: ${{ matrix.use-cypress-cloud && matrix.containers == 'component' && 'Run component' || matrix.use-cypress-cloud && 'Run E2E' || '' }} # cypress env |