Skip to content

Commit 5ae083f

Browse files
Update Node.js version to ^20 across the repository (#1307)
1 parent c0d58e3 commit 5ae083f

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

.changeset/soft-onions-cheat.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@segment/analytics-node': patch
3+
---
4+
5+
# Updated Node.js version to ^20 across the repository
6+
7+
## Files modified:
8+
9+
1. .github/workflows/ci.yml
10+
2. package.json
11+
3. packages/node/package.json

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
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: [18]
13+
node-version: [20]
1414
steps:
1515
- uses: actions/checkout@v3
1616
- uses: actions/setup-node@v3
@@ -39,7 +39,7 @@ jobs:
3939
runs-on: ubuntu-latest
4040
strategy:
4141
matrix:
42-
node-version: [18]
42+
node-version: [20]
4343
steps:
4444
- uses: actions/checkout@v3
4545
- uses: actions/setup-node@v3

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"scripts"
1111
],
1212
"engines": {
13-
"node": "^20"
13+
"node": ">=20"
1414
},
1515
"scripts": {
1616
"test": "jest",

packages/node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"!*.tsbuildinfo"
1818
],
1919
"engines": {
20-
"node": ">=18"
20+
"node": ">=20"
2121
},
2222
"scripts": {
2323
".": "yarn run -T turbo run --filter=@segment/analytics-node",

0 commit comments

Comments
 (0)