From fb854167c35f6b6b8c4290edd46c64044484fa32 Mon Sep 17 00:00:00 2001 From: Jonas Date: Tue, 12 Mar 2024 08:53:47 +0100 Subject: [PATCH] test(ci): Revert some cypress workflow changes Also rename `cypress.yml` to `cypress-e2e.yml` to prevent it being overwritten by each automatic update from the workflow templates. Signed-off-by: Jonas --- .github/workflows/{cypress.yml => cypress-e2e.yml} | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) rename .github/workflows/{cypress.yml => cypress-e2e.yml} (97%) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress-e2e.yml similarity index 97% rename from .github/workflows/cypress.yml rename to .github/workflows/cypress-e2e.yml index d0128db4900..2465a9234c9 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress-e2e.yml @@ -13,13 +13,13 @@ env: jobs: init: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: nodeVersion: ${{ steps.versions.outputs.nodeVersion }} npmVersion: ${{ steps.versions.outputs.npmVersion }} strategy: matrix: - server-versions: [ 'master' ] + server-versions: ['master'] steps: - name: Checkout server @@ -73,6 +73,7 @@ jobs: - name: Install node dependencies & build assistant app working-directory: apps/assistant run: | + composer install --no-dev npm ci npm run build @@ -83,14 +84,14 @@ jobs: path: ./ cypress: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: init strategy: fail-fast: false matrix: containers: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] - php-versions: [ '8.1' ] + php-versions: ['8.1'] run-in-parallel: - false # only for PRs: ${{ !!github.head_ref }}