From 28793de72334b56c12f003ddbba6f464bc6cfbd1 Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Sun, 22 Dec 2024 18:02:32 +0800 Subject: [PATCH 1/2] chore: drop Node.js 16 --- .github/workflows/benchmark.yml | 4 ++-- .github/workflows/tester.yml | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index dc31be7d15..e3b84d90cb 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node-version: ["14", "16", "18"] + node-version: ["18", "20", "22"] fail-fast: false steps: - uses: actions/checkout@v4 @@ -39,7 +39,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node-version: ["14", "16", "18"] + node-version: ["18", "20", "22"] fail-fast: false env: comment_file: ".tmp-comment-flamegraph-node${{ matrix.node-version }}.md" diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml index 7c443e7418..d258230d3d 100644 --- a/.github/workflows/tester.yml +++ b/.github/workflows/tester.yml @@ -27,7 +27,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - node-version: ["14.x", "16.x", "18.x"] + node-version: ["18", "20", "22"] fail-fast: false steps: - uses: actions/checkout@v4 diff --git a/package.json b/package.json index 49e5ea44de..3a4407991a 100644 --- a/package.json +++ b/package.json @@ -91,6 +91,6 @@ "typescript": "^5.3.2" }, "engines": { - "node": ">=14" + "node": ">=18" } } From 2cd3e3b9017b7d0bcda3e62ca9fa6fcd54d85cfe Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Sun, 22 Dec 2024 18:06:04 +0800 Subject: [PATCH 2/2] chore: drop Node.js 16 --- .github/workflows/linter.yml | 4 ++-- .github/workflows/tester.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 0432976eb7..52b53a119a 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -22,10 +22,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Use Node.js 14.x + - name: Use Node.js 22 uses: actions/setup-node@v4 with: - node-version: "14.x" + node-version: "22" - name: Install Dependencies run: npm install - name: Lint diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml index d258230d3d..04e0c374e4 100644 --- a/.github/workflows/tester.yml +++ b/.github/workflows/tester.yml @@ -49,7 +49,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node-version: ["14.x"] + node-version: ["22"] steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }}