diff --git a/.changeset/soft-onions-cheat.md b/.changeset/soft-onions-cheat.md new file mode 100644 index 000000000..e28745f90 --- /dev/null +++ b/.changeset/soft-onions-cheat.md @@ -0,0 +1,11 @@ +--- +'@segment/analytics-node': patch +--- + +# Updated Node.js version to ^20 across the repository + +## Files modified: + +1. .github/workflows/ci.yml +2. package.json +3. packages/node/package.json \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6ab3b4ae..0499b8c7d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18] + node-version: [20] steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 @@ -39,7 +39,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18] + node-version: [20] steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 diff --git a/package.json b/package.json index 507bd1144..ad42101ba 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "scripts" ], "engines": { - "node": "^20" + "node": ">=20" }, "scripts": { "test": "jest", diff --git a/packages/node/package.json b/packages/node/package.json index e2a100f4e..429ea7124 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -17,7 +17,7 @@ "!*.tsbuildinfo" ], "engines": { - "node": ">=18" + "node": ">=20" }, "scripts": { ".": "yarn run -T turbo run --filter=@segment/analytics-node",