Skip to content

Nav-23919 : Legger til Vitest og RTL #1150

Nav-23919 : Legger til Vitest og RTL

Nav-23919 : Legger til Vitest og RTL #1150

Workflow file for this run

name: Build app
on: [pull_request, workflow_dispatch]
env:
IMAGE: ghcr.io/navikt/familie-klage-frontend:${{ github.sha }}
jobs:
build:
name: Bygg app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: yarn
registry-url: "https://npm.pkg.github.com"
- name: Yarn install
run: yarn --prefer-offline --frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{ secrets.READER_TOKEN }}
- name: Yarn build
run: yarn build
- name: Yarn test
run: yarn test