Skip to content

Feat: add start.sh #111

Feat: add start.sh

Feat: add start.sh #111

Workflow file for this run

name: Frontend
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install modules
run: npm i
working-directory: ./frontend
- name: Run Prettier Check
run: npm run format:check
working-directory: ./frontend
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install modules
run: npm i
working-directory: ./frontend
- name: Run ESLint
run: npm run lint
working-directory: ./frontend
depcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run depcheck
working-directory: ./frontend
run: npx depcheck
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install modules
run: npm i
working-directory: ./frontend
- name: Run test
run: npm run test
working-directory: ./frontend
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
directory: ./frontend
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }}