ci: [BLA-1118] The pipeline should run all the test cases #1332
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
name: On Pull Request | |
on: | |
pull_request: | |
types: [ opened, reopened, edited, synchronize ] | |
branches: | |
- main | |
- beta | |
jobs: | |
install: | |
name: Install Dependencies | |
uses: ./.github/workflows/install.yml | |
with: | |
node_version: 18 | |
validations: | |
name: Validations | |
needs: [ install ] | |
uses: ./.github/workflows/validations.yml | |
with: | |
node_version: 18 | |
visual_tests: | |
name: Visual Regression Tests | |
needs: [ validations ] | |
if: ${{ !(contains(github.event.head_commit.message, 'chore') || contains(github.event.head_commit.message, 'ci')) }} | |
uses: ./.github/workflows/visual-test.yml | |
with: | |
node_version: 18 | |
dependabot-automerge: | |
name: Dependabot Automerge | |
needs: [ install, validations ] | |
uses: ./.github/workflows/dependabot-auto-merge.yml |