Skip to content

Commit 857166f

Browse files
committed
bump engines.node to new min (same as for core repo)
drop CI unit-testing of versions below 18.19.0
1 parent 196af25 commit 857166f

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

.github/workflows/unit-test.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,13 @@ jobs:
3737
strategy:
3838
fail-fast: false
3939
matrix:
40-
node: ["14", "16", "18", "20", "22"]
40+
node:
41+
- "18.19.0"
42+
- "18"
43+
- "20.6.0"
44+
- "20"
45+
- "22"
46+
- "23"
4147
include:
4248
- node: 18
4349
code-coverage: true
@@ -151,9 +157,6 @@ jobs:
151157
node-version: ${{ matrix.node }}
152158
- name: Set MySQL variables
153159
run: mysql --user=root --password=${MYSQL_ROOT_PASSWORD} --host=${MYSQL_HOST} --port=${MYSQL_PORT} -e "SET GLOBAL log_output='TABLE'; SET GLOBAL general_log = 1;" mysql
154-
- name: Update npm to a version that supports workspaces (v7 or later)
155-
if: ${{ matrix.node < 16 }}
156-
run: npm install -g npm@9 # npm@9 supports node >=14.17.0
157160
- name: Install
158161
run: npm ci
159162
- name: Download Build Artifacts

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/node/opentelemetry-instrumentation-bunyan/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"author": "OpenTelemetry Authors",
3030
"license": "Apache-2.0",
3131
"engines": {
32-
"node": ">=14"
32+
"node": "^18.19.0 || >=20.6.0"
3333
},
3434
"files": [
3535
"build/src/**/*.js",

plugins/node/opentelemetry-instrumentation-pino/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"author": "OpenTelemetry Authors",
3131
"license": "Apache-2.0",
3232
"engines": {
33-
"node": ">=14"
33+
"node": "^18.19.0 || >=20.6.0"
3434
},
3535
"files": [
3636
"build/src/**/*.js",

0 commit comments

Comments
 (0)