ApiDOM Monorepo full nightly build #1488
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: ApiDOM Monorepo full nightly build | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '30 4 * * *' | |
| env: | |
| CPU_CORES: 2 | |
| jobs: | |
| nightly-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Use Node.js 22 | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22.14.0 | |
| cache: 'npm' | |
| cache-dependency-path: 'package-lock.json' | |
| - name: Install dependencies | |
| run: npm ci --engine-strict=false | |
| - name: Build monorepo | |
| run: npm run build | |
| - name: Lint code | |
| run: npm run lint | |
| - name: Check TypeScript types | |
| run: npm run typescript:check-types | |
| - name: Execute tests in monorepo | |
| run: npm run test |