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/node.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/node.yml')
-rw-r--r-- | .github/workflows/node.yml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index b003ba405e0..9d3f120d670 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -10,7 +10,7 @@ on: paths: - '.github/workflows/**' - 'src/**' - - 'apps/**/appinfo/info.xml' + - 'appinfo/info.xml' - 'package.json' - 'package-lock.json' - 'tsconfig.json' @@ -37,14 +37,14 @@ jobs: name: node steps: - name: Checkout - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v3.5.2 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - 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 @@ -55,6 +55,8 @@ jobs: run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}" - name: Install dependencies & build + env: + CYPRESS_INSTALL_BINARY: 0 run: | npm ci npm run build --if-present |