Merge pull request #198 from chromaui/andrew/ap-4984-create-changes-t… #70
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 the main branch | |
# Runs the test workflows and the release workflow | |
name: Test and Release Main | |
on: | |
push: | |
branches: | |
- main | |
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: | |
needs: test | |
uses: ./.github/workflows/release.yml | |
secrets: | |
githubToken: ${{ secrets.GITHUB_TOKEN }} | |
npmToken: ${{ secrets.NPM_CHROMATIC_COM_PUBLISH_TOKEN }} | |