We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a72568 commit 9cf3a96Copy full SHA for 9cf3a96
.github/workflows/script/check-js.sh
@@ -16,6 +16,13 @@ if [ ! -z "$(git status --porcelain)" ]; then
16
# If we get a fail here then the PR needs attention
17
>&2 echo "Failed: JavaScript files are not up to date. Run 'rm -rf lib && npm run-script build' to update"
18
git status
19
+
20
+ echo "### Transpiled JS diff" >> $GITHUB_STEP_SUMMARY
21
+ echo "" >> $GITHUB_STEP_SUMMARY
22
+ echo '```diff' >> $GITHUB_STEP_SUMMARY
23
+ git diff --output="$RUNNER_TEMP/js.diff"
24
+ cat "$RUNNER_TEMP/js.diff" >> $GITHUB_STEP_SUMMARY
25
+ echo '```' >> $GITHUB_STEP_SUMMARY
26
exit 1
27
fi
28
echo "Success: JavaScript files are up to date"
0 commit comments