diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index d0128db4900..7b1581edece 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -59,6 +59,7 @@ jobs: - name: Set up node ${{ steps.versions.outputs.nodeVersion }} uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: + cache: 'npm' node-version: ${{ steps.versions.outputs.nodeVersion }} - name: Set up npm ${{ steps.versions.outputs.npmVersion }} @@ -73,6 +74,7 @@ jobs: - name: Install node dependencies & build assistant app working-directory: apps/assistant run: | + composer install --no-dev npm ci npm run build @@ -89,6 +91,7 @@ jobs: strategy: fail-fast: false matrix: + node-version: [16] containers: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] php-versions: [ '8.1' ] run-in-parallel: @@ -118,6 +121,7 @@ jobs: - name: Set up node ${{ needs.init.outputs.nodeVersion }} uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: + cache: 'npm' node-version: ${{ needs.init.outputs.nodeVersion }} - name: Set up npm ${{ needs.init.outputs.npmVersion }}