[Feature] - Added page break, cleanup the folder structure for constants and interfaces #8
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: | |
| pull_request: | |
| branches: [main, dev] | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| # npm ci fails cross-platform when lock file was generated on a different | |
| # OS (macOS lock file missing Linux rollup binary). Use npm install instead. | |
| - run: npm install | |
| - name: Type check (web) | |
| run: npm run typecheck --workspace=apps/web | |
| - name: Type check (api) | |
| run: npm run typecheck --workspace=apps/api | |
| - name: Lint | |
| run: npm run lint --workspace=apps/web | |
| - name: Build | |
| run: npm run build |