Skip to content

Commit

Permalink
fix: upgrade node 16 -> 18
Browse files Browse the repository at this point in the history
  • Loading branch information
YusufMavzer committed Dec 14, 2022
1 parent c07783d commit 93feee6
Show file tree
Hide file tree
Showing 10 changed files with 103 additions and 196 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ jobs:

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Setup .NET Core
uses: actions/setup-dotnet@v2
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.15.0
18.12.1
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

NVM: ([Windows][1], [unix, macOS, windows WSL](2))

Node: **v16.15.0** *(do this with nvm)*
Node: **v18.12.1** *(do this with nvm)*

NPM: **v8.5.5** *(nvm handles this too)*
NPM: **v8.19.2** *(nvm handles this too)*

``` bash
nvm install 16.15.0
nvm install 18.12.1
```

[1]:(https://github.com/coreybutler/nvm-windows)
Expand Down
4 changes: 2 additions & 2 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 @@ -138,7 +138,7 @@
"fail": false
},
"engines": {
"node": ">= 16.15.0",
"npm": ">= 8.5.5"
"node": ">= 18.12.1",
"npm": ">= 8.19.2"
}
}
2 changes: 1 addition & 1 deletion site/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.15.0
18.12.1
2 changes: 1 addition & 1 deletion site/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16.15.0-alpine as build-stage
FROM node:18.12.1-alpine as build-stage
LABEL maintainer "Digitaal Vlaanderen <[email protected]>"
ARG NPM_TOKEN
WORKDIR /app
Expand Down
6 changes: 3 additions & 3 deletions site/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

NVM: ([Windows][1], [unix, macOS, windows WSL](2))

Node: **v16.15.0** *(do this with nvm)*
Node: **v18.12.1** *(do this with nvm)*

NPM: **v8.5.5** *(nvm handles this too)*
NPM: **v8.19.2** *(nvm handles this too)*

``` bash
nvm install 16.15.0
nvm install 18.12.1
```

[1]:(https://github.com/coreybutler/nvm-windows)
Expand Down
Loading

0 comments on commit 93feee6

Please sign in to comment.