Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 4e3bf0c

Browse files
authored
Node18
1 parent 640f96e commit 4e3bf0c

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.github/workflows/build-and-deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ jobs:
1111
uses: navikt/tms-deploy/.github/workflows/mikrofrontend-deploy.yaml@main
1212
with:
1313
cluster: '["dev-gcp", "prod-gcp"]'
14-
node-version: 16
14+
node-version: 18
1515
secrets: inherit

.github/workflows/deploy-dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ jobs:
66
uses: navikt/tms-deploy/.github/workflows/mikrofrontend-deploy.yaml@main
77
with:
88
cluster: '["dev-gcp"]'
9-
node-version: 16
9+
node-version: 18
1010
secrets: inherit

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:16-alpine
1+
FROM node:18-alpine
22
ENV NODE_ENV production
33

44
WORKDIR usr/src/app

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,8 @@
4949
"lint-staged": {
5050
"*.js": "eslint --fix ",
5151
"*.{js,css,md,html,json}": "prettier --cache --write"
52+
},
53+
"engines": {
54+
"node": ">=18.15.0"
5255
}
5356
}

0 commit comments

Comments
 (0)