Add web-based dashboard for managing sounds #16
Workflow file for this run
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: CI (Dashboard) | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
typecheck: | |
name: Typecheck | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./dashboard | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: "npm" | |
cache-dependency-path: '**/package-lock.json' | |
- name: Install deps | |
run: npm ci | |
- name: Run tsc | |
run: npm run typecheck | |
prettier: | |
name: Prettier | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./dashboard | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: "npm" | |
cache-dependency-path: '**/package-lock.json' | |
- name: Install deps | |
run: npm ci | |
- name: Run Prettier | |
run: npm run prettier:check | |
eslint: | |
name: ESLint | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./dashboard | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: "npm" | |
cache-dependency-path: '**/package-lock.json' | |
- name: Install deps | |
run: npm ci | |
- name: Run ESLint | |
run: npm run lint |