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 50935f5 commit 6d8d7f9Copy full SHA for 6d8d7f9
.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