From 708c6648f7d3d33f17e847de929f6dbdd19b3342 Mon Sep 17 00:00:00 2001 From: D-Sketon <2055272094@qq.com> Date: Sat, 11 Jan 2025 13:32:38 +0800 Subject: [PATCH] chore: drop Node.js 16 --- .github/workflows/ci.yml | 6 +++--- .github/workflows/pages.yml | 4 ++-- package.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0cdd4c9..0664b4f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,10 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Use Node.js 16 + - name: Use Node.js 22 uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 22 - name: Cache NPM dependencies uses: actions/cache@v3 with: @@ -30,7 +30,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - node-version: [14, 16, 18] + node-version: [18, 20, 22] fail-fast: false steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 0011261..62a7d41 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -9,10 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Use Node.js v16 + - name: Use Node.js 22 uses: actions/setup-node@v1 with: - node-version: "16" + node-version: "22" - run: npm install - name: Create Pages run: npm run typedoc diff --git a/package.json b/package.json index ec0b119..f1ba8e4 100644 --- a/package.json +++ b/package.json @@ -61,6 +61,6 @@ "typescript": "^5.0.3" }, "engines": { - "node": ">=14" + "node": ">=18" } }