mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 06:21:07 -05:00
fix(cypress): do not install deps twice
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
parent
639caf6150
commit
49fa2e508d
1 changed files with 5 additions and 0 deletions
5
.github/workflows/cypress.yml
vendored
5
.github/workflows/cypress.yml
vendored
|
|
@ -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…
Reference in a new issue