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 Nov 2, 2023
1 parent 89d2b7b commit c812440
Show file tree
Hide file tree
Showing 8 changed files with 243 additions and 205 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 @@ -6,7 +6,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'
outputs:
artifact_name:
description: The artifact name.
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
- macos-latest
- windows-latest
node:
- '16'
- '18'
- '20'
include:
- os: ubuntu-latest
os_name: Linux
Expand All @@ -48,8 +48,8 @@ jobs:
fail-fast: false
matrix:
node:
- '16'
- '18'
- '20'
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -75,8 +75,8 @@ jobs:
- macos-latest
- windows-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
Loading

0 comments on commit c812440

Please sign in to comment.