Skip to content

doc: readme: codecov badge (#314) #650

doc: readme: codecov badge (#314)

doc: readme: codecov badge (#314) #650

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
paths:
- 'web/**'
jobs:
web:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install dependencies
working-directory: ./web
run: npm install
- name: Run linter
working-directory: ./web
run: npm run lint
- name: Run formatter
working-directory: ./web
run: npm run format
- name: Check for uncommitted changes
run: |
if [[ $(git status --porcelain) ]]; then
git diff
exit 1
fi
- name: Build the app
working-directory: ./web
run: npm run build