Use latest container to avoids Cypress errors in parallel job

pull/2690/head
Jérémy Rialland 2023-06-14 11:58:05 +02:00 committed by Jérémy Rialland
parent 8170194816
commit 918a0cd5ed
1 changed files with 2 additions and 0 deletions

View File

@ -232,6 +232,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
runs-on: ubuntu-22.04
container: cypress/browsers:latest
# We need to specify always() https://github.com/actions/runner/issues/491
if: always() && needs.deploy-preview.result == 'success'
needs: [deploy-context, deploy-preview]
@ -302,6 +303,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
runs-on: ubuntu-22.04
container: cypress/browsers:latest
# We need to specify always() https://github.com/actions/runner/issues/491
if: always() && needs.deploy-prod.result == 'success'
needs: [deploy-context, deploy-prod]