Skip to content

Oppdater til ny vite mode #241

Oppdater til ny vite mode

Oppdater til ny vite mode #241

name: "verify: frackend"
on:
pull_request:
branches:
- 'main'
paths:
- 'apps/frackend/**'
- '.github/*/verify-frackend.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'
registry-url: https://npm.pkg.github.com/
scope: '@navikt'
- name: Install dependencies
working-directory: apps/frackend
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.READER_TOKEN }}
- name: Run ESLint
working-directory: apps/frackend
run: npm run lint
- name: Check for typescript errors
working-directory: apps/frackend
run: npm run check-types