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 dc194f3 commit bac2ee1Copy full SHA for bac2ee1
.github/workflows/ci.yml
@@ -59,7 +59,8 @@ jobs:
59
env:
60
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61
run: |
62
- ERRORS=$(cat build.log | awk 'tolower($0) ~ /\[.*error.*\]|npm err|\[vite\] error/,0')
+ # remove ANSI colours & try find some known error strings
63
+ ERRORS=$(cat build.log | sed 's/\x1B\[[0-9;]*[A-Za-z]//g' | awk 'tolower($0) ~ /\[.*error.*\]|npm err|\[vite\] error /,0')
64
65
if [ -n "$ERRORS" ]; then
66
URL=$(gh run view ${{ github.run_id }} --json url --jq '.url')
0 commit comments