name: CI on: push: branches: - main pull_request: branches: - main concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true permissions: contents: read jobs: ci: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v7 - name: Setup Node.js uses: actions/setup-node@v7 with: node-version: '24' cache: 'npm' - name: Install dependencies run: npm install - name: Type check run: npx tsc --noEmit - name: Lint check run: npm run check - name: Build run: npm run build