From 41c27ca8047bd5d40cb75d18b7631be3c3341f9d Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Wed, 13 Dec 2023 15:59:44 +0100 Subject: [PATCH] ci: bump node versions (#201) --- .github/workflows/test.yml | 4 ++-- packages/compress/package.json | 2 +- packages/core/package.json | 2 +- packages/file/package.json | 2 +- packages/memoize/package.json | 2 +- packages/mongo/package.json | 2 +- packages/multi/package.json | 2 +- packages/mysql/package.json | 2 +- packages/offline/package.json | 2 +- packages/postgres/package.json | 2 +- packages/redis/package.json | 2 +- packages/sql/package.json | 2 +- packages/sqlite/package.json | 2 +- packages/stats/package.json | 2 +- 14 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 640b5a8..b0d1de7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [16, 18] + node-version: [18, 20] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ env: MYSQL_DB_DATABASE: keyv_test @@ -59,7 +59,7 @@ jobs: run_install: true - run: pnpm test - name: Report - run: mkdir -p coverage && npx c8 report --reporter=text-lcov > coverage/lcov.info + run: npx c8 report --reporter=text-lcov > coverage/lcov.info - name: Coverage uses: coverallsapp/github-action@main with: diff --git a/packages/compress/package.json b/packages/compress/package.json index 15f4d0e..9b27327 100644 --- a/packages/compress/package.json +++ b/packages/compress/package.json @@ -36,7 +36,7 @@ }, "devDependencies": { "@keyvhq/core": "latest", - "ava": "latest" + "ava": "5" }, "engines": { "node": ">= 16" diff --git a/packages/core/package.json b/packages/core/package.json index 365c8fd..363a27c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -32,7 +32,7 @@ "devDependencies": { "@keyvhq/test-suite": "latest", "@types/node": "latest", - "ava": "latest", + "ava": "5", "timekeeper": "latest", "tsd": "latest", "typescript": "latest" diff --git a/packages/file/package.json b/packages/file/package.json index a7d3e5a..977e425 100644 --- a/packages/file/package.json +++ b/packages/file/package.json @@ -34,7 +34,7 @@ "@keyvhq/core": "latest", "@keyvhq/test-suite": "latest", "@types/node": "latest", - "ava": "latest", + "ava": "5", "tsd": "latest", "typescript": "latest" }, diff --git a/packages/memoize/package.json b/packages/memoize/package.json index dfb595d..042c86c 100644 --- a/packages/memoize/package.json +++ b/packages/memoize/package.json @@ -33,7 +33,7 @@ "mimic-fn": "~3.0.0" }, "devDependencies": { - "ava": "latest" + "ava": "5" }, "engines": { "node": ">= 16" diff --git a/packages/mongo/package.json b/packages/mongo/package.json index 09759b0..c7465b0 100644 --- a/packages/mongo/package.json +++ b/packages/mongo/package.json @@ -38,7 +38,7 @@ "@keyvhq/core": "latest", "@keyvhq/test-suite": "latest", "@types/node": "latest", - "ava": "latest", + "ava": "5", "tsd": "latest", "typescript": "latest" }, diff --git a/packages/multi/package.json b/packages/multi/package.json index 5c31a4b..2033a4c 100644 --- a/packages/multi/package.json +++ b/packages/multi/package.json @@ -34,7 +34,7 @@ "devDependencies": { "@keyvhq/compress": "latest", "@keyvhq/sqlite": "latest", - "ava": "latest", + "ava": "5", "tsd": "latest", "typescript": "latest" }, diff --git a/packages/mysql/package.json b/packages/mysql/package.json index bb23480..8b54321 100644 --- a/packages/mysql/package.json +++ b/packages/mysql/package.json @@ -39,7 +39,7 @@ "@keyvhq/core": "latest", "@keyvhq/test-suite": "latest", "@types/node": "latest", - "ava": "latest", + "ava": "5", "tsd": "latest", "typescript": "latest" }, diff --git a/packages/offline/package.json b/packages/offline/package.json index 334abb3..44af408 100644 --- a/packages/offline/package.json +++ b/packages/offline/package.json @@ -34,7 +34,7 @@ "@aws-sdk/client-s3": "latest", "@keyvhq/core": "latest", "@keyvhq/redis": "latest", - "ava": "latest", + "ava": "5", "keyv-s3": "latest" }, "engines": { diff --git a/packages/postgres/package.json b/packages/postgres/package.json index 72ad790..082dc4f 100644 --- a/packages/postgres/package.json +++ b/packages/postgres/package.json @@ -39,7 +39,7 @@ "@keyvhq/core": "latest", "@keyvhq/test-suite": "latest", "@types/node": "latest", - "ava": "latest", + "ava": "5", "tsd": "latest", "typescript": "latest" }, diff --git a/packages/redis/package.json b/packages/redis/package.json index a25f1eb..e8a8676 100644 --- a/packages/redis/package.json +++ b/packages/redis/package.json @@ -38,7 +38,7 @@ "@keyvhq/test-suite": "latest", "@types/ioredis": "latest", "@types/node": "latest", - "ava": "latest", + "ava": "5", "tsd": "latest", "typescript": "latest" }, diff --git a/packages/sql/package.json b/packages/sql/package.json index a7c4aab..0b564d4 100644 --- a/packages/sql/package.json +++ b/packages/sql/package.json @@ -35,7 +35,7 @@ "@keyvhq/core": "latest", "@keyvhq/test-suite": "latest", "@vscode/sqlite3": "latest", - "ava": "latest", + "ava": "5", "pify": "5" }, "engines": { diff --git a/packages/sqlite/package.json b/packages/sqlite/package.json index 6d9d35c..31c3aef 100644 --- a/packages/sqlite/package.json +++ b/packages/sqlite/package.json @@ -39,7 +39,7 @@ "@keyvhq/core": "latest", "@keyvhq/test-suite": "latest", "@types/node": "latest", - "ava": "latest", + "ava": "5", "tsd": "latest", "typescript": "latest" }, diff --git a/packages/stats/package.json b/packages/stats/package.json index 0163381..b0ca955 100644 --- a/packages/stats/package.json +++ b/packages/stats/package.json @@ -27,7 +27,7 @@ "devDependencies": { "@keyvhq/core": "latest", "@keyvhq/file": "latest", - "ava": "latest", + "ava": "5", "tsd": "latest", "typescript": "latest" },