Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
one more time
  • Loading branch information
gka committed Jan 8, 2026
commit 337915bb23a7095008ee754e722944ea0d57c6db
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: |
pnpm exec svelte-kit sync
pnpm exec svelte-check --tsconfig ./tsconfig.json --output machine > svelte-errors-pr.log 2>&1 || true
SVELTE_ERRORS_PR=$(tail -n 1 svelte-errors-pr.log | awk '{for (i=1;i<=NF;i++) if ($i=="ERRORS") {print $(i+1); exit}}' || true)
SVELTE_ERRORS_PR=$(tail -n 1 svelte-errors-pr.log | awk '{for (i=1;i<=NF;i++) if ($i=="ERRORS") {print $(i-1); exit}}' || true)
echo "SVELTE_ERRORS_PR=${SVELTE_ERRORS_PR}" >> "$GITHUB_ENV"
echo "Svelte TypeScript errors on PR branch: ${SVELTE_ERRORS_PR}"

Expand All @@ -70,7 +70,7 @@ jobs:
git checkout origin/main
pnpm exec svelte-kit sync
pnpm exec svelte-check --tsconfig ./tsconfig.json --output machine > svelte-errors-main.log 2>&1 || true
SVELTE_ERRORS_MAIN=$(tail -n 1 svelte-errors-main.log | awk '{for (i=1;i<=NF;i++) if ($i=="ERRORS") {print $(i+1); exit}}' || true)
SVELTE_ERRORS_MAIN=$(tail -n 1 svelte-errors-main.log | awk '{for (i=1;i<=NF;i++) if ($i=="ERRORS") {print $(i-1); exit}}' || true)
echo "SVELTE_ERRORS_MAIN=${SVELTE_ERRORS_MAIN}" >> "$GITHUB_ENV"
echo "Svelte TypeScript errors on main branch: ${SVELTE_ERRORS_MAIN}"
git checkout "${CURRENT_REF}"
Expand Down
Loading
Loading