diff --git a/.github/workflows/cypress_tests.yml b/.github/workflows/cypress_tests.yml index 8a19c29a..b4254a4d 100644 --- a/.github/workflows/cypress_tests.yml +++ b/.github/workflows/cypress_tests.yml @@ -19,11 +19,13 @@ jobs: matrix: containers: [1, 2, 3, 4, 5] steps: + - uses: actions/setup-node@v3 + with: + node-version: 18 - name: Checkout uses: actions/checkout@v3 - - name: Cypress run - uses: cypress-io/github-action@v3 + uses: cypress-io/github-action@v5 with: start: yarn dev wait-on: 'http://localhost:3000' diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 255f9142..83fc7d1a 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -6,7 +6,4 @@ on: jobs: test: uses: ./.github/workflows/cypress_tests.yml - secrets: - NEXT_PUBLIC_API_URL: ${{ secrets.NEXT_PUBLIC_API_URL }} - CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} - CYPRESS_USER_COOKIE: ${{ secrets.CYPRESS_USER_COOKIE }} + secrets: inherit