Skip to content

Commit

Permalink
Merge pull request #296 from KTH/chore/KUI-1116/node-18
Browse files Browse the repository at this point in the history
chore(KUI-1116): upgrade to node 18
  • Loading branch information
4886Talga authored Sep 14, 2023
2 parents f771af1 + 11313bf commit 9ac74f8
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .azure/azure-pipelines.pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pool:
steps:
- template: templates/test/npm-test.yml@cet-iac
parameters:
nodeVersion: 16.x
nodeVersion: 18.x
- template: templates/test/docker-test.yml@cet-iac
parameters:
dockerComposeFilePaths:
Expand Down
2 changes: 1 addition & 1 deletion .azure/azure-pipelines.ref.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pool:
steps:
- template: templates/test/npm-test.yml@cet-iac
parameters:
nodeVersion: 16.x
nodeVersion: 18.x
- template: templates/docker/build.yml@cet-iac
parameters:
runScan: false
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM kthregistry.azurecr.io/kth-nodejs-16:latest
FROM kthregistry.azurecr.io/kth-nodejs-18:latest

LABEL maintainer="KTH-studadm [email protected]"

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Welcome to kurs-pm-web 👋

![Version](https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000)
![Prerequisite](https://img.shields.io/badge/node-16-blue.svg)
![Prerequisite](https://img.shields.io/badge/node-18-blue.svg)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](#)

## Introduction
Expand Down Expand Up @@ -35,7 +35,7 @@ Kurs-pm-web fetches data from:

## Prerequisites

- Node.js 16
- Node.js 18

### Secrets for Development

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,6 @@
"trailingComma": "es5"
},
"engines": {
"node": "16"
"node": "18"
}
}
2 changes: 1 addition & 1 deletion test/mock-api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM kthregistry.azurecr.io/kth-nodejs-16:latest
FROM kthregistry.azurecr.io/kth-nodejs-18:latest
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
Expand Down
2 changes: 1 addition & 1 deletion test/mock-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"express": "^4.17.1"
},
"engines": {
"node": "16.0.0"
"node": "18.0.0"
}
}

0 comments on commit 9ac74f8

Please sign in to comment.