Skip to content

Justerer minstegrunnlaget med ny sats gjeldende fra 1. juli #105

Justerer minstegrunnlaget med ny sats gjeldende fra 1. juli

Justerer minstegrunnlaget med ny sats gjeldende fra 1. juli #105

Workflow file for this run

name: "Build and test PR"
on:
pull_request:
branches:
- "main"
paths-ignore:
- '**.md'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
APP: aap-kalkulator-frontend
IMAGE_BASE: ghcr.io/${{ github.repository }}
jobs:
build-and-publish:
name: Bygg og publiser Docker image
runs-on: ubuntu-latest
env:
NPM_AUTH_TOKEN: ${{ secrets.READER_TOKEN }}
SKIP_YARN_COREPACK_CHECK: true
outputs:
image: ${{ steps.bygg.outputs.image }}
steps:
- uses: "actions/checkout@v4"
- uses: "actions/setup-node@v4"
with:
node-version: "20"
registry-url: "https://npm.pkg.github.com"
cache: yarn
- name: Enable Corepack
run: corepack enable
- name: install dependencies Yarn
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: yarn install --immutable
env:
NODE_AUTH_TOKEN: ${{ secrets.READER_TOKEN }}
- name: test application
run: yarn test