chore(deps-dev): keep @types/node on the runtime we actually run #68
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: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: pnpm/action-setup@v6 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm lint | |
| - run: pnpm build | |
| # Not redundant with build: the apps are bundled by esbuild, which strips | |
| # types without checking them, and the packages' tsc runs only over src/. | |
| # This is the only step that type-checks the tests and the app sources. | |
| - run: pnpm typecheck | |
| - run: pnpm test |