From 387bc3b979249c8c01a8d9a6beb679f8a461af5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halvor=20Grizzly=20Bj=C3=B8rn?= Date: Thu, 16 Nov 2023 08:29:49 +0100 Subject: [PATCH] :arrow_up: Oppgraderer til node 20 --- .github/workflows/build_and_deploy.yaml | 4 ++-- .nvmrc | 2 +- Dockerfile | 2 +- package.json | 2 +- yarn.lock | 8 ++++---- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_and_deploy.yaml b/.github/workflows/build_and_deploy.yaml index 96dbd4c..f101a59 100644 --- a/.github/workflows/build_and_deploy.yaml +++ b/.github/workflows/build_and_deploy.yaml @@ -10,7 +10,7 @@ on: jobs: buildDev: - uses: navikt/aap-workflows/.github/workflows/frontend-next-build.yml@main + uses: navikt/aap-workflows/.github/workflows/frontend-next-build.yml@node-20 permissions: contents: read id-token: write @@ -22,7 +22,7 @@ jobs: playwright: false cdn: true buildProd: - uses: navikt/aap-workflows/.github/workflows/frontend-next-build.yml@main + uses: navikt/aap-workflows/.github/workflows/frontend-next-build.yml@node-20 permissions: contents: read id-token: write diff --git a/.nvmrc b/.nvmrc index 25bf17f..2edeafb 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18 \ No newline at end of file +20 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 499e29f..677ec72 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine +FROM node:20-alpine ENV NODE_ENV production diff --git a/package.json b/package.json index 4d1ddd2..5cac305 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "@navikt/ds-css": "^5.10.1", "@navikt/ds-react": "^5.10.1", "@navikt/nav-dekoratoren-moduler": "^2.1.0", - "@navikt/next-api-proxy": "^3.3.0", + "@navikt/next-api-proxy": "^3.4.0", "@vercel/otel": "^0.3.0", "cookie": "^0.5.0", "date-fns": "^2.28.0", diff --git a/yarn.lock b/yarn.lock index c137638..d963dcf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1029,10 +1029,10 @@ html-react-parser "^3.0.16" node-cache "^5.1.2" -"@navikt/next-api-proxy@^3.3.0": - version "3.3.0" - resolved "https://npm.pkg.github.com/download/@navikt/next-api-proxy/3.3.0/c3d32b0d9bbfd066b679546165f0ee48d972e954#c3d32b0d9bbfd066b679546165f0ee48d972e954" - integrity sha512-Ad/Ybiket4BR/lw8/DFQ4+v6aQFouMRZvmjb4uH+dhM1nST+/yriuUv5ZOkIUPGwkVavOfptrPI6DSYKRRaANg== +"@navikt/next-api-proxy@^3.4.0": + version "3.4.0" + resolved "https://npm.pkg.github.com/download/@navikt/next-api-proxy/3.4.0/b0ec19f54b1f153ed3f91e6f513ba97d146c6f01#b0ec19f54b1f153ed3f91e6f513ba97d146c6f01" + integrity sha512-qXCa0BOFPIvjAFC6ieMC71EKzc5mlVc/0OvUgC0DdeKxyokr+wuQWWrHYwPnToz2uEejv2m80IH6O4cw5hW1dQ== "@next/env@13.1.2": version "13.1.2"