name: CI Pipeline on: push: branches: [main, master] pull_request: branches: [main, master] concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: validate: name: Test & Typecheck (Node ${{ matrix.node-version }}) runs-on: ubuntu-latest strategy: matrix: node-version: [20.x, 22.x] steps: - name: Checkout Code uses: actions/checkout@v4 - name: Setup Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: "npm" - name: Install Dependencies run: npm ci - name: Build All Packages run: npm run build - name: TypeScript Typecheck run: npm run typecheck - name: Run Test Suite run: npm test