From 7300b072a1732c07f1ec747490a78a77047d4770 Mon Sep 17 00:00:00 2001 From: kimkim0814 Date: Tue, 13 Aug 2024 14:43:35 +0900 Subject: [PATCH 1/2] Drop support for Node.js <18.18.0 --- .github/workflows/test.yml | 10 +++++----- README.md | 2 +- package.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9e54deb..239f162 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,7 +31,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: "20.12.2" + node-version: "20.16.0" - run: yarn install - run: yarn run lint @@ -41,9 +41,9 @@ jobs: strategy: matrix: node: - - "18.12.0" - - "18.19.0" - - "20.11.0" + - "18.18.0" + - "18.20.4" + - "20.16.0" needs: - check_test_execution_conditions steps: @@ -63,7 +63,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: "20.12.2" + node-version: "20.16.0" - run: yarn install - run: yarn run build env: diff --git a/README.md b/README.md index 156f61e..5e8c4cb 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Qiita の Markdown 記法については[Markdown 記法 チートシート](htt ### 1. 事前準備 -Qiita CLI を使うには `Node.js 18.12.0` 以上が必要です。 +Qiita CLI を使うには `Node.js 18.18.0` 以上が必要です。 Node.js をはじめて使う場合はインストールする必要があります。 ### 2. Qiita CLI をインストールする diff --git a/package.json b/package.json index a6534a3..8f6ce29 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ }, "packageManager": "yarn@1.22.19", "engines": { - "node": ">=18.12.0" + "node": ">=18.18.0" }, "lint-staged": { "*.{js,ts,tsx}": [ From 831449d51082269c4957f4140cbe930aa5ab5241 Mon Sep 17 00:00:00 2001 From: ohakutsu Date: Wed, 14 Aug 2024 21:49:42 +0900 Subject: [PATCH 2/2] Bump Node.js version for development environment --- .github/workflows/publish-package.yml | 2 +- .node-version | 2 +- actions/publish/action.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index 2f72e7d..e5a6034 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: "20.12.2" + node-version: "20.16.0" registry-url: "https://registry.npmjs.org" - name: Set version number to environment variable run: | diff --git a/.node-version b/.node-version index 8783404..8ce7030 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -20.12.2 +20.16.0 diff --git a/actions/publish/action.yml b/actions/publish/action.yml index dbba40c..2cb8600 100644 --- a/actions/publish/action.yml +++ b/actions/publish/action.yml @@ -16,7 +16,7 @@ runs: steps: - uses: actions/setup-node@v4 with: - node-version: "20.12.2" + node-version: "20.16.0" - name: Install qiita-cli run: npm install -g @qiita/qiita-cli@v1.4.4 shell: bash