Triggered by push to refs/heads/main by @BK1031 #225
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: Dashboard Tests | |
run-name: Triggered by ${{ github.event_name }} to ${{ github.ref }} by @${{ github.actor }} | |
on: [push] | |
jobs: | |
dashboard_build_job: | |
runs-on: ubuntu-latest | |
name: Build | |
defaults: | |
run: | |
working-directory: ./dashboard | |
shell: bash | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '22.x' | |
- name: Install dependencies | |
run: | | |
npm ci | |
- name: Run build | |
run: | | |
npm run build | |
dashboard_lint_job: | |
runs-on: ubuntu-latest | |
name: Lint | |
defaults: | |
run: | |
working-directory: ./dashboard | |
shell: bash | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '22.x' | |
- name: Install dependencies | |
run: | | |
npm ci | |
- name: Run lint | |
run: | | |
npm run lint | |
dashboard_check_job: | |
runs-on: ubuntu-latest | |
name: Prettier Check | |
defaults: | |
run: | |
working-directory: ./dashboard | |
shell: bash | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '22.x' | |
- name: Install dependencies | |
run: | | |
npm ci | |
- name: Run check | |
run: | | |
npm run check |