Scheduling infrastructure for absolutely everyone.
feat: update github workflows to install playwright in a separate job (#17070)
Aditya Ghadge0b3b268eed75
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.ymlindex 41d7e78bb5c..acb8219b448 100644--- a/.github/workflows/pr.yml+++ b/.github/workflows/pr.yml@@ -97,6 +97,14 @@ jobs:if: ${{ needs.changes.outputs.has-files-requiring-all-checks == 'true' }}uses: ./.github/workflows/yarn-install.yml+ install-playwright:+ name: Install playwright+ runs-on: buildjet-2vcpu-ubuntu-2204+ needs: [changes, check-label, deps]+ if: ${{ needs.check-label.outputs.run-e2e == 'true' && needs.changes.outputs.has-files-requiring-all-checks == 'true' }}+ steps:+ - uses: ./.github/actions/yarn-playwright-install+type-check:name: Type checkneeds: [changes, check-label, deps]@@ -162,35 +170,35 @@ jobs:e2e:name: Tests- needs: [changes, check-label, build, build-api-v1, build-api-v2]+ needs: [changes, check-label, build, build-api-v1, build-api-v2, install-playwright]if: ${{ needs.check-label.outputs.run-e2e == 'true' && needs.changes.outputs.has-files-requiring-all-checks == 'true' }}uses: ./.github/workflows/e2e.ymlsecrets: inherite2e-api-v2:name: Tests- needs: [changes, check-label, build, build-api-v1, build-api-v2]+ needs: [changes, check-label, build, build-api-v1, build-api-v2, install-playwright]if: ${{ needs.check-label.outputs.run-e2e == 'true' && needs.changes.outputs.has-files-requiring-all-checks == 'true' }}uses: ./.github/workflows/e2e-api-v2.ymlsecrets: inherite2e-app-store:name: Tests- needs: [changes, check-label, build, build-api-v1, build-api-v2]+ needs: [changes, check-label, build, build-api-v1, build-api-v2, install-playwright]if: ${{ needs.check-label.outputs.run-e2e == 'true' && needs.changes.outputs.has-files-requiring-all-checks == 'true' }}uses: ./.github/workflows/e2e-app-store.ymlsecrets: inherite2e-embed:name: Tests- needs: [changes, check-label, build, build-api-v1, build-api-v2]+ needs: [changes, check-label, build, build-api-v1, build-api-v2, install-playwright]if: ${{ needs.check-label.outputs.run-e2e == 'true' && needs.changes.outputs.has-files-requiring-all-checks == 'true' }}uses: ./.github/workflows/e2e-embed.ymlsecrets: inherite2e-embed-react:name: Tests- needs: [changes, check-label, build, build-api-v1, build-api-v2]+ needs: [changes, check-label, build, build-api-v1, build-api-v2, install-playwright]if: ${{ needs.check-label.outputs.run-e2e == 'true' && needs.changes.outputs.has-files-requiring-all-checks == 'true' }}uses: ./.github/workflows/e2e-embed-react.ymlsecrets: inheritdiff --git a/.github/workflows/yarn-install.yml b/.github/workflows/yarn-install.ymlindex 6909eb95f23..9e6821406bd 100644--- a/.github/workflows/yarn-install.yml+++ b/.github/workflows/yarn-install.yml@@ -15,4 +15,3 @@ jobs:- uses: actions/checkout@v4- uses: ./.github/actions/dangerous-git-checkout- uses: ./.github/actions/yarn-install- - uses: ./.github/actions/yarn-playwright-install