Skip to content

Commit d92fad4

Browse files
committed
Change integration tests
1 parent 1e7d6d8 commit d92fad4

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/auto-build-publish-test.yml renamed to .github/workflows/auto-build-publish-and-job-summary-test.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
name: Auto Build Publish Test
1+
name: Auto Build Publish Test And Job Summary
2+
# This test ensures that the auto build and publish process works correctly and that the job summary is generated.
3+
# These two are interconnected, as the summary must be generated.
4+
# This test only verifies its existence, not its content,
5+
# which is covered in the unit tests.
26
on:
37
push:
48
branches:
@@ -80,4 +84,13 @@ jobs:
8084
- name: Add npm modules to local build-info
8185
run: |
8286
jf npm-config --repo-resolve npm-remote
83-
jf npm install
87+
jf npm install
88+
89+
- name: Validate job summary was written (sanity check)
90+
shell: bash
91+
run: |
92+
if [ ! -s "$GITHUB_STEP_SUMMARY" ]; then
93+
echo "❌ Job summary file is empty!"
94+
exit 1
95+
fi
96+
echo "✅ Job summary written!"

0 commit comments

Comments
 (0)