From ed36a61f83386797fb81dc4bcc052583c536b0f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Tue, 2 Apr 2024 16:10:49 +0800 Subject: [PATCH] build: update requied node.js >= 20 --- .github/workflows/ci.yml | 12 ++++++------ package.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6a3a9c..1452c23 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,11 +11,11 @@ jobs: name: Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '16.x' + node-version: '20.x' - name: Install dependencies run: npm install - name: Lint files @@ -25,11 +25,11 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node: [16.x] + node: [20.x] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - name: Install dependencies diff --git a/package.json b/package.json index 5c4cd0a..f63b9ec 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,6 @@ "testEnvironment": "node" }, "engines": { - "node": "16.x" + "node": ">=18" } }