Skip to content

Cleanup

Cleanup #22

name: "verify: frontend"
on:
pull_request:
branches:
- 'main'
paths:
- 'apps/frontend/**'
- '.github/*/verify-frontend.yaml'
jobs:
verify:
name: Verify there are no lint or typescript errors
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: apps/frontend
- name: Install dependencies
working-directory: apps/frontend
run: npm ci
- name: Run ESLint
working-directory: apps/frontend
run: npm run lint
- name: Run Stylelint
working-directory: apps/frontend
run: npm run stylelint
- name: Check for typescript errors
working-directory: apps/frontend
run: npm run check-types