chore(deps): bump actions/checkout from 4 to 6 (#1) #34
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: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-and-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: npm | |
| - name: Install frontend dependencies | |
| run: npm ci | |
| - name: Lint | |
| run: npm run lint | |
| - name: Build frontend | |
| run: npm run build | |
| - name: Install backend dependencies | |
| run: npm run server:install | |
| - name: Generate Prisma client | |
| run: npm run prisma:generate | |
| - name: Build backend | |
| run: npm run server:build |