diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2023-09-22 16:48:21 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2023-09-22 17:41:57 +0200 |
commit | beb0b34eb92cc2ff07b95a752b36e278d928fbc0 (patch) | |
tree | 8e4e1e43636c4847bb830b6c367bd024029df458 /.github/workflows/npm-audit-fix.yml | |
parent | 7fecdf61299e7213fd857e7d89ce9b33db05c47b (diff) | |
download | nextcloud-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/npm-audit-fix.yml')
-rw-r--r-- | .github/workflows/npm-audit-fix.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/npm-audit-fix.yml b/.github/workflows/npm-audit-fix.yml index 60138c47fde..ef24a9ab1d3 100644 --- a/.github/workflows/npm-audit-fix.yml +++ b/.github/workflows/npm-audit-fix.yml @@ -24,16 +24,16 @@ jobs: steps: - name: Checkout - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v3.5.2 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 with: ref: ${{ matrix.branches }} - name: Read package.json node and npm engines version - uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.1 + uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2 id: versions with: - fallbackNode: '^16' - fallbackNpm: '^7' + fallbackNode: '^20' + fallbackNpm: '^9' - name: Set up node ${{ steps.versions.outputs.nodeVersion }} uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3 @@ -49,6 +49,8 @@ jobs: - name: Run npm ci and npm run build if: always() + env: + CYPRESS_INSTALL_BINARY: 0 run: | npm ci npm run build --if-present |