-
Notifications
You must be signed in to change notification settings - Fork 12
39 lines (35 loc) · 1.01 KB
/
on-push.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: On Push
on:
push:
branches:
- BLA-1014
- 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: [ validations ]
# 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 }}