ddcac4b3b1
* fix: make linting required for CI - Remove continue-on-error from lint workflow so CI fails on lint errors - Fix 2 lint errors: avoid importing from @trpc/server in lib package - Add trpcErrorUtils.ts to handle TRPC errors without circular dependencies - Update lint-staged to show warnings but not block commits Co-Authored-By: Volnei Munhoz <volnei.munhoz@gmail.com> * fix: add message field validation to isTRPCErrorLike type guard Co-Authored-By: Volnei Munhoz <volnei.munhoz@gmail.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
19 lines
368 B
YAML
19 lines
368 B
YAML
name: Lint
|
|
on:
|
|
workflow_call:
|
|
permissions:
|
|
actions: write
|
|
contents: read
|
|
jobs:
|
|
lint:
|
|
runs-on: blacksmith-2vcpu-ubuntu-2404
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
sparse-checkout: .github
|
|
- uses: ./.github/actions/cache-checkout
|
|
- uses: ./.github/actions/yarn-install
|
|
- name: Run Lint
|
|
run: yarn lint
|