Skip to content

Commit 591437d

Browse files
committed
Bump node.js to v20 (#1235)
2 parents cb354fd + ce1fbf4 commit 591437d

File tree

4 files changed

+18
-12
lines changed

4 files changed

+18
-12
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ jobs:
5050
Invoke-WebRequest -Uri "https://dot.net/v1/dotnet-install.ps1" -OutFile dotnet-install.ps1
5151
& .\dotnet-install.ps1 -Architecture x86 -Version 9.0.101 -InstallDir "C:\Program Files (x86)\dotnet\" -NoPath -Verbose
5252
if: runner.os == 'Windows'
53+
- name: ⚙ Install node.js
54+
uses: actions/setup-node@v4
55+
with:
56+
node-version: 20.x
57+
cache: yarn
58+
cache-dependency-path: src/nerdbank-gitversioning.npm/yarn.lock
5359
- name: ⚙️ Set pipeline variables based on source
5460
run: tools/variables/_define.ps1
5561
shell: pwsh

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ It is highly recommended that anyone contributing to this library use the same
1010
software.
1111

1212
1. [Visual Studio 2022][VS]
13-
2. [Node.js][NodeJs] v16 (v18 breaks our build)
13+
2. [Node.js][NodeJs] v20 (oldest LTS)
1414

1515
### Optional additional software
1616

src/nerdbank-gitversioning.npm/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Stamps your NPM packages with semver 2.0 compliant git commit specific version information.",
55
"author": {
66
"name": "Andrew Arnott",
7-
"email": "andrewarnott@gmail.com",
7+
"email": "andrewarnott@live.com",
88
"url": "http://blog.nerdbank.net/"
99
},
1010
"bin": {
@@ -24,7 +24,7 @@
2424
"versioning"
2525
],
2626
"devDependencies": {
27-
"@types/node": "18.19.111",
27+
"@types/node": "20.19.10",
2828
"del": "8.0.0",
2929
"gulp": "5.0.1",
3030
"gulp-cli": "3.1.0",

src/nerdbank-gitversioning.npm/yarn.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@
5959
resolved "https://registry.yarnpkg.com/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz#719df7fb41766bc143369eaa0dd56d8dc87c9958"
6060
integrity sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==
6161

62-
"@types/node@18.19.111":
63-
version "18.19.111"
64-
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.111.tgz#e95b89efc24cc625834b43bcd70bd5591a5dfba5"
65-
integrity sha512-90sGdgA+QLJr1F9X79tQuEut0gEYIfkX9pydI4XGRgvFo9g2JWswefI+WUSUHPYVBHYSEfTEqBxA5hQvAZB3Mw==
62+
"@types/node@20.19.10":
63+
version "20.19.10"
64+
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.19.10.tgz#8bee5d6fa97221d50d767fa5707a3dd6503e8f19"
65+
integrity sha512-iAFpG6DokED3roLSP0K+ybeDdIX6Bc0Vd3mLW5uDqThPWtNos3E+EqOM11mPQHKzfWHqEBuLjIlsBQQ8CsISmQ==
6666
dependencies:
67-
undici-types "~5.26.4"
67+
undici-types "~6.21.0"
6868

6969
acorn@^6.4.1:
7070
version "6.4.2"
@@ -2083,10 +2083,10 @@ undertaker@^2.0.0:
20832083
last-run "^2.0.0"
20842084
undertaker-registry "^2.0.0"
20852085

2086-
undici-types@~5.26.4:
2087-
version "5.26.5"
2088-
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
2089-
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
2086+
undici-types@~6.21.0:
2087+
version "6.21.0"
2088+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb"
2089+
integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==
20902090

20912091
unicorn-magic@^0.1.0:
20922092
version "0.1.0"

0 commit comments

Comments
 (0)