diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index a094edf84..746d57db2 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -124,7 +124,10 @@ jobs: ~/.cache/Cypress node_modules backend/node_modules - key: cypress-cache-${{ github.run_id }} + key: cypress-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + cypress-${{ runner.os }}- + cypress- fullstack_tests: name: Run Fullstack E2E Tests @@ -194,4 +197,4 @@ jobs: for i in {1..30}; do curl -sf http://localhost:3000 && exit 0 || sleep 2; done; exit 1 - name: Run Cypress tests run: | - yarn run cypress:run --spec $(cypress/parallel-features.sh ${{ matrix.job }} ${{ env.jobs }}) + yarn run cypress:run --spec $(cypress/parallel-features.sh ${{ matrix.job }} ${{ env.jobs }}) \ No newline at end of file