fix(cypress): do not install deps twice

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
pull/47379/head
skjnldsv 1 year ago committed by John Molakvoæ
parent 639caf6150
commit 49fa2e508d
  1. 5
      .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

Loading…
Cancel
Save