Skip to content

Commit 296ad7b

Browse files
committed
Updated workflows again
1 parent aa96123 commit 296ad7b

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/pull-request-checks.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
44
concurrency:
@@ -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

0 commit comments

Comments
 (0)