File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 1- name : Pull request build and pre-deployment checks
1+ name : Continuous integration
22
33# Group requests for the same pull request to avoid multiple builds
44concurrency :
@@ -34,12 +34,25 @@ jobs:
3434 # without installing all dependencies,
3535 # allowing this to be set up as another job.
3636 - name : Get release status
37+ id : status
3738 run : |
3839 yarn run status
40+ if : always()
3941
4042 - name : Build all packages
43+ id : build
4144 run : |
4245 yarn run build
46+ if : always()
47+
48+ - name : Final check
49+ if : always()
50+ run : |
51+ echo "Checking the outcome of build steps..."
52+ if [ "${{ steps.status.outcome }}" != "success" ] || [ "${{ steps.build.outcome }}" != "success" ]; then
53+ echo "One or more checks failed."
54+ exit 1
55+ fi
4356
4457 build-storybook :
4558 name : Build storybook
You can’t perform that action at this time.
0 commit comments