Render current system status and transitioning blueprint (#484) #18
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: Check JS Code | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'ui/**' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- 'ui/**' | |
workflow_dispatch: {} | |
jobs: | |
build: | |
name: Check JS Code | |
timeout-minutes: 30 | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set Up Node 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Install Dependencies | |
working-directory: ui | |
run: npm install | |
- name: Check Formatting (prettier) | |
working-directory: ui | |
run: npm run fcheck | |
if: success() || failure() | |
- name: Lint (eslint) | |
working-directory: ui | |
run: npm run lint | |
if: success() || failure() | |
- name: Run Build (vite) | |
working-directory: ui | |
run: npm run build | |
if: success() || failure() |