add room override #481
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 checks for the frontend | |
| on: | |
| push: | |
| branches: [main] | |
| paths-ignore: | |
| - "**/*.{py,md,txt,toml}" | |
| - "{.vscode,deploy/cron_scripts,public}/**/*" | |
| - ".editorconfig" | |
| - ".gitignore" | |
| - ".prettierignore" | |
| - "scrapers/overrides.toml.d/override-schema.json" | |
| pull_request: | |
| branches: [main] | |
| paths-ignore: | |
| - "**/*.{py,md,txt,toml}" | |
| - "{.vscode,deploy/cron_scripts,public}/**/*" | |
| - ".editorconfig" | |
| - ".gitignore" | |
| - ".prettierignore" | |
| - "scrapers/overrides.toml.d/override-schema.json" | |
| jobs: | |
| prettier: | |
| name: Prettier | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ vars.NODE_VERSION }} | |
| cache: "npm" | |
| - name: Install node dependencies | |
| run: npm ci | |
| - name: Run Prettier | |
| run: npm run ci-prettier | |
| lint: | |
| name: Lint + Typecheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ vars.NODE_VERSION }} | |
| cache: "npm" | |
| - name: Install node dependencies | |
| run: npm ci | |
| - name: Check types | |
| run: npm run typecheck | |
| - name: Run ESLint | |
| run: npm run ci-eslint | |
| test: | |
| name: Unit tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ vars.NODE_VERSION }} | |
| cache: "npm" | |
| - name: Install node dependencies | |
| run: npm ci | |
| - name: Run tests | |
| run: npm run test |