Skip to content

chore: improve tsconfig strictness and ci workflows #51

chore: improve tsconfig strictness and ci workflows

chore: improve tsconfig strictness and ci workflows #51

Workflow file for this run

name: Code checks

Check failure on line 1 in .github/workflows/checks.yml

View workflow run for this annotation

GitHub Actions / Code checks

Invalid workflow file

The workflow is not valid. .github/workflows/checks.yml: (Line: 16, Col: 18, Idx: 232) - (Line: 16, Col: 26, Idx: 240): While scanning a plain scalar, find unexpected ':'.
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
checks:
name: ${{ matrix.script }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
script: [prettier:check, lint:check, ts:check, test]
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: ${{ matrix.script }}
run: pnpm run ${{ matrix.script }}