build(deps): bump the minor-and-patch group across 1 directory with 33 updates #257
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| workflow_dispatch: {} | |
| push: | |
| branches: [main] | |
| paths-ignore: | |
| - "**.md" | |
| - "docs/**" | |
| - "LICENSE" | |
| - ".vscode/**" | |
| pull_request: | |
| branches: [main] | |
| paths-ignore: | |
| - "**.md" | |
| - "docs/**" | |
| - "LICENSE" | |
| - ".vscode/**" | |
| # Cancel in-progress runs on new pushes to the same PR | |
| concurrency: | |
| group: ci-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| NODE_VERSION: "20" | |
| jobs: | |
| ci: | |
| name: Lint, Type Check, Test & Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| # pnpm version comes from "packageManager" in package.json (SSOT); | |
| # pnpm/action-setup@v6 errors if both are specified. | |
| - uses: pnpm/action-setup@v6 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| cache: "pnpm" | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| # SSOT: lint + type-check + test are bundled in the `verify` script | |
| # (package.json). CI and local runs invoke the exact same command. | |
| - name: Verify (lint, type-check, test) | |
| run: pnpm run verify | |
| - name: Build | |
| run: pnpm build | |
| env: | |
| DATABASE_URL: postgresql://localhost:5432/kivvi |