From cbdccbcc5fd8eb2da24b53b35471cb640ffebea2 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-lock.json | 2 +- package.json | 2 +- 3 files changed, 8 insertions(+), 8 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-lock.json b/package-lock.json index 8ab0cad..6fd739c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "yorkie": "^2.0.0" }, "engines": { - "node": "16.x" + "node": ">=20" }, "funding": { "url": "https://opencollective.com/eslint" diff --git a/package.json b/package.json index 5c4cd0a..5c4db1f 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,6 @@ "testEnvironment": "node" }, "engines": { - "node": "16.x" + "node": ">=20" } }