Skip to content

⬆️ Bump next from 14.2.3 to 14.2.10 #107

⬆️ Bump next from 14.2.3 to 14.2.10

⬆️ Bump next from 14.2.3 to 14.2.10 #107

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