Skip to content

Oppdater til ny vite mode #56

Oppdater til ny vite mode

Oppdater til ny vite mode #56

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/checkout@v4
- 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