ApiDOM Monorepo full nightly build #1058
This file contains 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@v4 | |
- name: Use Node.js 22 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
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 |