Skip to content

Commit e6d2b7a

Browse files
committed
Upgrade Node.js version
Signed-off-by: inductor <[email protected]>
1 parent ce1b1cc commit e6d2b7a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.devcontainer/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# [Choice] Node.js version: 16, 14, 12
2-
ARG VARIANT=12-buster
1+
# [Choice] Node.js version: 16, 14
2+
ARG VARIANT=14-buster
33
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}
44

55
# [Optional] Uncomment this section to install additional OS packages.

.devcontainer/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66
context: ..
77
dockerfile: .devcontainer/Dockerfile
88
args:
9-
VARIANT: 12-buster
9+
VARIANT: 14-buster
1010
environment:
1111
- CMD_DB_URL=postgres://codimd:codimd@localhost/codimd
1212
- CMD_USECDN=false

.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: [10.x, 12.x]
13+
node-version: [14.x, 16.x]
1414

1515
steps:
1616
- uses: actions/checkout@v2
@@ -39,9 +39,9 @@ jobs:
3939
steps:
4040
- uses: actions/checkout@v2
4141
- uses: actions/setup-node@v2
42-
name: Use Node.js 12
42+
name: Use Node.js 14
4343
with:
44-
node-version: 12
44+
node-version: 14
4545
check-latest: true
4646
- name: Install doctoc-check
4747
run: |

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
"utf-8-validate": "~5.0.1"
213213
},
214214
"engines": {
215-
"node": ">=10.0.0 <13.0.0"
215+
"node": ">=14.0.0 <17.0.0"
216216
},
217217
"maintainers": [
218218
{

0 commit comments

Comments
 (0)