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 1b3a5c6Copy full SHA for 1b3a5c6
.github/workflows/script/check-js.sh
@@ -16,6 +16,12 @@ 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\n" >> $GITHUB_STEP_SUMMARY
21
+ echo '```diff' >> $GITHUB_STEP_SUMMARY
22
+ git diff --output="$RUNNER_TEMP/js.diff"
23
+ cat "$RUNNER_TEMP/js.diff" >> $GITHUB_STEP_SUMMARY
24
+ echo '```' >> $GITHUB_STEP_SUMMARY
25
exit 1
26
fi
27
echo "Success: JavaScript files are up to date"
0 commit comments