Cypress: One watcher per test, wait for network idleness #232
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow for PR branches | |
# Runs the test workflows and the canary release workflow | |
name: Test and Release PR | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
test: | |
uses: ./.github/workflows/test-base.yml | |
secrets: | |
codacyProjectToken: ${{ secrets.CODACY_PROJECT_TOKEN }} | |
test_cypress: | |
needs: test | |
uses: ./.github/workflows/test-cypress.yml | |
secrets: | |
chromaticProjectToken: ${{ secrets.CHROMATIC_CYPRESS_PROJECT_TOKEN }} | |
test_playwright: | |
needs: test | |
uses: ./.github/workflows/test-playwright.yml | |
secrets: | |
chromaticProjectToken: ${{ secrets.CHROMATIC_PLAYWRIGHT_PROJECT_TOKEN }} | |
release_canary: | |
needs: test | |
uses: ./.github/workflows/canary-release.yml | |
secrets: | |
githubToken: ${{ secrets.GITHUB_TOKEN }} | |
npmToken: ${{ secrets.NPM_CHROMATIC_COM_PUBLISH_TOKEN }} | |