aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorskjnldsv <skjnldsv@protonmail.com>2024-08-21 10:27:09 +0200
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-08-22 13:32:59 +0200
commit49fa2e508d286f10c5f80b3b5dc5ca28e323ce99 (patch)
treeb342e1fe0c83fd24ac5813d9f0041e7aa020f081 /.github
parent639caf6150170ea76372d63dbe4e5865a0c292a9 (diff)
downloadnextcloud-server-49fa2e508d286f10c5f80b3b5dc5ca28e323ce99.tar.gz
nextcloud-server-49fa2e508d286f10c5f80b3b5dc5ca28e323ce99.zip
fix(cypress): do not install deps twice
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cypress.yml5
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