chore(deps): update node.js to v24 #3500
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: Build and test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - "**" | |
| jobs: | |
| lint_and_typecheck: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: .nvmrc | |
| - name: Install pnpm | |
| run: corepack enable pnpm | |
| - name: Install dependencies | |
| run: pnpm i | |
| - name: lint | |
| run: pnpm lint | |
| - name: build | |
| run: pnpm build | |
| - name: ensure no outstanding migrations | |
| run: | | |
| pnpm db:generate && \ | |
| if [ -z "$(git status --porcelain)" ]; then \ | |
| exit 0; \ | |
| else \ | |
| exit 1; \ | |
| fi |