File tree Expand file tree Collapse file tree 5 files changed +19
-3
lines changed Expand file tree Collapse file tree 5 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 44 # run it on push to the default repository branch
55 push :
66 branches : [main]
7+ paths :
8+ - " samples/foundations/**"
79 # run it during pull request
810 pull_request :
11+ paths :
12+ - " samples/foundations/**"
913
1014defaults :
1115 run :
4044 # run build
4145 - run : npm run build:ts
4246 # run tests
43- - run : npm test
47+ - run : npm test
Original file line number Diff line number Diff line change 44 # run it on push to the default repository branch
55 push :
66 branches : [main]
7+ paths :
8+ - " samples/from_crud_to_eventsourcing/**"
79 # run it during pull request
810 pull_request :
11+ paths :
12+ - " samples/from_crud_to_eventsourcing/**"
913
1014defaults :
1115 run :
Original file line number Diff line number Diff line change 44 # run it on push to the default repository branch
55 push :
66 branches : [main]
7+ paths :
8+ - " samples/simple/**"
79 # run it during pull request
810 pull_request :
11+ paths :
12+ - " samples/simple/**"
913
1014defaults :
1115 run :
6872 registry : ghcr.io
6973 username : ${{ github.actor }}
7074 password : ${{ secrets.GITHUB_TOKEN }}
71-
75+
7276 - name : Build image and push to Docker Hub and GitHub Container Registry
7377 uses : docker/build-push-action@v3
7478 with :
8286 push : ${{ github.ref == 'refs/heads/main' }}
8387
8488 - name : Image digest
85- run : echo ${{ steps.docker_build.outputs.digest }}
89+ run : echo ${{ steps.docker_build.outputs.digest }}
Original file line number Diff line number Diff line change 44 # run it on push to the default repository branch
55 push :
66 branches : [main]
7+ - " samples/snapshots/**"
78 # run it during pull request
89 pull_request :
10+ - " samples/snapshots/**"
911
1012defaults :
1113 run :
Original file line number Diff line number Diff line change 44 # run it on push to the default repository branch
55 push :
66 branches : [main]
7+ - " samples/webinar/**"
78 # run it during pull request
89 pull_request :
10+ - " samples/webinar/**"
911
1012defaults :
1113 run :
You can’t perform that action at this time.
0 commit comments