name: CI Checks on: pull_request: push: branches: - main permissions: contents: write jobs: ci-checks: runs-on: ubuntu-latest steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 2 - name: Use Node.js uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 with: node-version: 24.x - name: Extract pnpm version and install run: | VERSION=$(cat package.json | grep '"packageManager": "pnpm@' | sed 's/.*"pnpm@\([^"]*\)".*/\1/') npm install -g pnpm@$VERSION - uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2 with: path: ~/.pnpm-store key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} - run: pnpm install --frozen-lockfile - run: pnpm build - run: pnpm lint - run: pnpm format:check - run: pnpm test:integration env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} HEAD_OID: ${{ github.base_ref }}