From 29f6425a8ddd43636aa87fbe7c599fe6f48b4dc7 Mon Sep 17 00:00:00 2001 From: Evan Hahn Date: Wed, 18 Dec 2024 17:28:29 +0000 Subject: [PATCH] feat: support Node 18 We plan to use this in CoMapeo Core (see [this pull request][0]) so we need to make sure we're compatible with Node 18. [0]: https://github.com/digidem/comapeo-core/pull/978 --- .github/workflows/test.yml | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 832c8dd..e3ccf8d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [20.x] + node-version: [18.x, 20.x] steps: - uses: actions/checkout@v4 diff --git a/package-lock.json b/package-lock.json index e94812a..0ab248a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,7 +33,7 @@ }, "engines": { "engineStrict": true, - "node": "^20.18.1" + "node": ">=18.20.0" } }, "node_modules/@babel/runtime": { diff --git a/package.json b/package.json index 5047c5a..b09036c 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "typescript-eslint": "^8.17.0" }, "engines": { - "node": "^20.18.1", + "node": ">=18.20.0", "engineStrict": true }, "prettier": {