From 9e5350ff0b143e0cfd7fbb12666f01659be5c7ec Mon Sep 17 00:00:00 2001 From: Avi Vahl Date: Wed, 30 Oct 2024 22:56:29 +0200 Subject: [PATCH] ci: add Node 22; drop 18 (#754) --- .github/workflows/tests.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0d1014e7..63723b3b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,7 +6,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [20, 18] + node-version: [22, 20] os: [ubuntu-latest, windows-latest, macOS-latest] steps: - uses: actions/checkout@v4 diff --git a/package.json b/package.json index 18ae658d..6b49cb46 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "build": "tsc --build", "pretest": "npm run lint && npm run build", "test": "npm run test:only", - "test:only": "node --test --enable-source-maps ./dist/test", + "test:only": "node --test --enable-source-maps", "lint": "eslint", "prepack": "npm run build", "prettify": "npx prettier . --write"