aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/node-tests.yml
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2023-09-22 16:48:21 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2023-09-22 17:41:57 +0200
commitbeb0b34eb92cc2ff07b95a752b36e278d928fbc0 (patch)
tree8e4e1e43636c4847bb830b6c367bd024029df458 /.github/workflows/node-tests.yml
parent7fecdf61299e7213fd857e7d89ce9b33db05c47b (diff)
downloadnextcloud-server-beb0b34eb92cc2ff07b95a752b36e278d928fbc0.tar.gz
nextcloud-server-beb0b34eb92cc2ff07b95a752b36e278d928fbc0.zip
ci: skip cypress install
Unecessary to download the cypress binary if we don't run cypress Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to '.github/workflows/node-tests.yml')
-rw-r--r--.github/workflows/node-tests.yml20
1 files changed, 19 insertions, 1 deletions
diff --git a/.github/workflows/node-tests.yml b/.github/workflows/node-tests.yml
index 71731ce578d..7e41b808f07 100644
--- a/.github/workflows/node-tests.yml
+++ b/.github/workflows/node-tests.yml
@@ -32,6 +32,9 @@ jobs:
runs-on: ubuntu-latest
needs: versions
+ env:
+ CYPRESS_INSTALL_BINARY: 0
+
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
@@ -47,9 +50,12 @@ jobs:
- name: Install dependencies
run: npm ci
+ - name: Show cypress version
+ run: npm run cypress:version
+
- name: Test and process coverage
run: npm run test:coverage
-
+
- name: Collect coverage
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
@@ -59,6 +65,9 @@ jobs:
runs-on: ubuntu-latest
needs: versions
+ env:
+ CYPRESS_INSTALL_BINARY: 0
+
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
@@ -74,6 +83,9 @@ jobs:
- name: Install dependencies
run: npm ci
+ - name: Show cypress version
+ run: npm run cypress:version
+
- name: Test
run: npm run test:jsunit
@@ -81,6 +93,9 @@ jobs:
runs-on: ubuntu-latest
needs: versions
+ env:
+ CYPRESS_INSTALL_BINARY: 0
+
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
@@ -96,5 +111,8 @@ jobs:
- name: Install dependencies
run: npm ci
+ - name: Show cypress version
+ run: npm run cypress:version
+
- name: Run compile
run: ./build/compile-handlebars-templates.sh