From f653b41850cde7f7faca5515bae299f965b1fd10 Mon Sep 17 00:00:00 2001 From: resonic-user Date: Mon, 16 Jun 2025 09:54:01 +0000 Subject: [PATCH] e2e --- .github/workflows/test-e2e.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index c5b380da4..d859ae15c 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -144,7 +144,9 @@ jobs: steps: - name: Generate cache key for node_modules id: cache-key - run: echo "key=node-modules-${{ runner.os }}-${{ hashFiles('backend/yarn.lock', 'webapp/yarn.lock') }}" >> $GITHUB_OUTPUT + run: echo "key=node-modules-${{ runner.os }}-${{ env.LOCK_HASH }}" >> $GITHUB_OUTPUT + env: + LOCK_HASH: ${{ hashFiles('backend/yarn.lock', 'webapp/yarn.lock') }} - name: Restore node_modules cache uses: actions/cache@v4 with: @@ -203,4 +205,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