Skip to content

Commit 1586245

Browse files
committed
Update minimum node version
1 parent 6c50176 commit 1586245

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
version: ${{ env.PNPM_VERSION }}
2222
- uses: actions/setup-node@v2
2323
with:
24-
node-version: 16.x
24+
node-version: 18.x
2525
cache: pnpm
2626
- run: pnpm install
2727
- run: pnpm run lint

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
version: ${{ env.PNPM_VERSION }}
2020
- uses: actions/setup-node@v2
2121
with:
22-
node-version: 16.x
22+
node-version: 18.x
2323
cache: pnpm
2424
- run: pnpm install
2525
- run: npm publish

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
"url": "https://github.com/TelemetryDeck/JavaScriptSDK/issues"
4545
},
4646
"homepage": "https://github.com/TelemetryDeck/JavaScriptSDK#readme",
47+
"engines": {
48+
"node": ">=18"
49+
},
4750
"devDependencies": {
4851
"@rollup/plugin-commonjs": "^25.0.3",
4952
"@rollup/plugin-replace": "^5.0.2",

0 commit comments

Comments
 (0)