Removing Unused Components #337
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: Frontend CI | |
on: | |
push: | |
branches: | |
- "**" | |
paths: | |
- "frontend/**" | |
jobs: | |
format: | |
name: Format | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Format Frontend | |
run: | | |
cd frontend | |
npm install prettier | |
npx prettier --check . | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Lint Frontend | |
run: | | |
cd frontend | |
npm install | |
npm run lint | |
# This action is disabled since tests are failing right now | |
tests: | |
if: false | |
name: Run Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Test Frontend | |
run: | | |
cd frontend | |
npm install | |
npm run test |