Skip to content

Commit

Permalink
Update to Node.js v20
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Dec 9, 2023
1 parent 5a1db81 commit 33eb6d1
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VARIANT="18"
ARG VARIANT="20"

FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:${VARIANT}

Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"build": {
"dockerfile": "Dockerfile",
"args": {
"VARIANT": "18"
"VARIANT": "20"
}
},
"extensions": [
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inputs:
node_version:
description: The Node.js version.
required: false
default: '18'
default: '20'
registry_url:
description: The Node.js package registry URL.
required: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
description: The Node.js version.
type: string
required: false
default: '18'
default: '20'
secrets:
node_auth_token:
description: The Node.js auth token.
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
os:
- ubuntu-latest
node:
- '16'
- '18'
- '20'
include:
- os: ubuntu-latest
os_name: Linux
Expand All @@ -40,8 +40,8 @@ jobs:
fail-fast: false
matrix:
node:
- '16'
- '18'
- '20'
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -68,8 +68,8 @@ jobs:
os:
- ubuntu-latest
node:
- '16'
- '18'
- '20'
include:
- os: ubuntu-latest
os_name: Linux
Expand Down Expand Up @@ -125,8 +125,8 @@ jobs:
fail-fast: false
matrix:
node:
- '16'
- '18'
- '20'
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/hydrogen
20
23 changes: 16 additions & 7 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@
"report": "c8 report"
},
"engines": {
"node": ">=16.13.0",
"npm": ">= 8.1.0"
"node": ">=18.12.0",
"npm": ">= 9.0.0"
},
"devDependencies": {
"@types/node": "^18.11.18",
"@types/node": "^20.8.10",
"ava": "^5.0.1",
"c8": "^8.0.0",
"del-cli": "^5.0.0",
Expand Down

0 comments on commit 33eb6d1

Please sign in to comment.