fix(Docker): [BLA-693] Fix failing snapshot tests #219
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 Push | |
on: | |
push: | |
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 | |
deploy_docker_image: | |
name: Deploy Docker Image | |
needs: [ visual_tests ] | |
if: ${{ !(contains(github.event.head_commit.message, 'chore') || contains(github.event.head_commit.message, 'ci')) }} | |
uses: ./.github/workflows/docker-image.yml | |
with: | |
node_version: 18 | |
secrets: | |
DOCKERHUB_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKERHUB_TOKEN: ${{ secrets.DOCKER_PASSWORD }} |