Skip to content

Commit bac2ee1

Browse files
committed
test
1 parent dc194f3 commit bac2ee1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ jobs:
5959
env:
6060
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6161
run: |
62-
ERRORS=$(cat build.log | awk 'tolower($0) ~ /\[.*error.*\]|npm err|\[vite\] error/,0')
62+
# 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')
6364
6465
if [ -n "$ERRORS" ]; then
6566
URL=$(gh run view ${{ github.run_id }} --json url --jq '.url')

0 commit comments

Comments
 (0)