diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 58a67c1..5c86da9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,26 @@ jobs: - name: Lint commit messages run: pnpm commitlint --from ${{ github.event.pull_request.base.sha }} --to HEAD --verbose + lint: + name: Biome + runs-on: ubuntu-latest + permissions: + contents: read + packages: read + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 + with: + node-version: 24 + cache: pnpm + - name: Install dependencies + env: + NPM_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: pnpm install --frozen-lockfile --ignore-scripts + - name: Biome check + run: pnpm lint + check: name: Typecheck runs-on: ubuntu-latest @@ -114,6 +134,3 @@ jobs: # Fail CI on *Connection fields missing Relay first/last (CVG-101). - name: GraphQL pagination check run: pnpm --filter '@cv/api' check:pagination - - - name: Lint - run: pnpm lint