ApiDOM Monorepo full nightly build #577
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@v3 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
cache-dependency-path: 'package-lock.json' | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint code | |
run: npm run lint | |
- name: Build monorepo | |
run: npm run build | |
- name: Check TypeScript types | |
run: npm run typescript:check-types | |
- name: Execute tests in monorepo | |
run: npm run test |