Skip to content

Commit

Permalink
chore(KUI-1116): upgrade to node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
4886Talga authored and belanglos committed Sep 14, 2023
1 parent a4c024e commit e916ca6
Show file tree
Hide file tree
Showing 6 changed files with 124 additions and 42 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,4 +24,4 @@ pool:
steps:
- template: templates/test/npm-test.yml@cet-iac
parameters:
nodeVersion: '16'
nodeVersion: '18'
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'
nodeVersion: '18'
- template: templates/docker/push.yml@cet-iac
parameters:
dockerFilePath: $(dockerfilePath)
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]"

WORKDIR /application
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 kursinfo-web 👋

![Version](https://img.shields.io/badge/version-2.0.0-blue.svg?cacheSeconds=2592000)
![Prerequisite](https://img.shields.io/badge/node-14.0.0-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 @@ -41,7 +41,7 @@ Kursinfo-web fetches data from:

## Prerequisites

- Node.js 14.0.0
- Node.js 18.0.0
- Ansible Vault

### Secrets for Development
Expand Down
152 changes: 117 additions & 35 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@kth/monitor": "^4.1.1",
"@kth/server": "^4.0.4",
"@kth/session": "^3.0.8",
"@kth/ug-rest-api-helper": "^1.0.24",
"@kth/ug-rest-api-helper": "^1.0.25",
"applicationinsights": "^2.7.3",
"axios": "^1.4.0",
"body-parser": "^1.20.2",
Expand Down Expand Up @@ -107,7 +107,7 @@
"webpack-cli": "^5.1.4"
},
"engines": {
"node": "16"
"node": "18"
},
"jshintConfig": {
"maxerr": 5
Expand Down

0 comments on commit e916ca6

Please sign in to comment.