feat: pluggable recurrence kinds on schedule() #413
Workflow file for this run
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
| # Actions are pinned to full commit SHAs; see .github/dependabot.yml for why and how they are updated. | |
| on: | |
| push: | |
| branches: [master] | |
| tags-ignore: ['**'] | |
| paths: | |
| - 'packages/dashboard/**' | |
| - 'src/**' | |
| - '.github/workflows/dashboard.yml' | |
| pull_request: | |
| branches: [master] | |
| paths: | |
| - 'packages/dashboard/**' | |
| - 'src/**' | |
| - '.github/workflows/dashboard.yml' | |
| name: Dashboard CI | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| container: node:24 | |
| services: | |
| postgres: | |
| image: postgres | |
| env: | |
| POSTGRES_PASSWORD: postgres | |
| options: >- | |
| --health-cmd pg_isready | |
| --health-interval 10s | |
| --health-timeout 5s | |
| --health-retries 5 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| cache-dependency-path: | | |
| package-lock.json | |
| packages/dashboard/package-lock.json | |
| - name: Install root dependencies | |
| run: npm ci | |
| - name: Install dashboard dependencies | |
| run: npm ci | |
| working-directory: packages/dashboard | |
| - name: Typecheck | |
| run: npm run typecheck | |
| working-directory: packages/dashboard | |
| - name: Frontend tests with coverage | |
| run: npm run cover:frontend | |
| working-directory: packages/dashboard | |
| - name: Server tests with coverage | |
| run: npm run cover:server | |
| working-directory: packages/dashboard | |
| env: | |
| DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres |