Skip to content

Commit 24e1698

Browse files
committed
test
1 parent fa9f989 commit 24e1698

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
compile:
1414
name: Compiles
1515
runs-on: ubuntu-latest
16+
defaults:
17+
run:
18+
shell: bash --noprofile --norc -eo pipefail {0}
1619
steps:
1720
- uses: actions/checkout@v4
1821
with:
@@ -58,7 +61,7 @@ jobs:
5861
run: |
5962
ERRORS=$(cat build.log | sed -E -n '/\[.*error.*\]|npm err|\[vite\] Error/I,$p')
6063
61-
if [ -n $ERRORS ]; then
64+
if [ -n "$ERRORS" ]; then
6265
URL=$(gh run view ${{ github.run_id }} --json url --jq '.url')
6366
BODY="[Build failed]($URL)\n\n\`\`\`txt\n$ERRORS\n\`\`\`"
6467

0 commit comments

Comments
 (0)