From 413751556ef4bb071a711b6299a7f57cd8c3134e Mon Sep 17 00:00:00 2001 From: Youhei Nozaki Date: Thu, 12 Nov 2026 10:13:25 +0900 Subject: [PATCH 1/2] chore(deps): bump Node.js to 26.13.1 November 2026 security releases (https://nodejs.org/en/blog/vulnerability/november-2026-security-releases). --- .github/workflows/ci.yml | 2 +- .node-version | 2 +- DEVELOPMENT.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7624caf..4162340 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: fail-fast: false matrix: # Keep the exact minimum version aligned with package.json engines.node. - node-version: ['22.18.0', '22.x', '24.x', '26.x'] + node-version: ['22.23.5', '22.x', '24.x', '26.x'] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: diff --git a/.node-version b/.node-version index 8207117..721de0d 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -v26.13.0 +v26.13.1 diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 8f4d74b..6416737 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -127,7 +127,7 @@ typegenはスキーマ取得と生成型の正しさ、SDKは生成型を使う ## カバレッジ・CI・リリース - [カバレッジ設定](.c8rc.json):ファイルごとに文・行98%、分岐95%、関数100%。型定義のみのファイルは対象外で、生成型はコンパイルで検査します。レポートは`coverage/index.html`・`lcov.info`・`coverage-summary.json`です。 -- [CI](.github/workflows/ci.yml):Node.js22.18.0・22系・24系でテスト・カバレッジ・型・パッケージを検査。TypeScript6.0.2の互換性とLint・フォーマットも検査し、カバレッジレポートを14日間保存します。 +- [CI](.github/workflows/ci.yml):Node.js22.23.5・22系・24系でテスト・カバレッジ・型・パッケージを検査。TypeScript6.0.2の互換性とLint・フォーマットも検査し、カバレッジレポートを14日間保存します。 - `test:package`と通常のCIはnpmへ公開しません。公開パッケージ名はスコープなしの`microcms-typegen`です。npmの初期登録用は`0.0.0`(`bootstrap`タグ)、初回正式版は`1.0.0`です。 - [公開ワークフロー](.github/workflows/publish.yml):`v*`タグで起動し、バージョンの一致・`main`への反映、Lint・フォーマット・テスト・型・配布物を検査してから、Node.js24系でnpmへ`latest`として公開します。初期登録用の`0.0.0`やプレリリース版は対象外です。 From 92264e68ef97589f776da93ccfa857456332bb16 Mon Sep 17 00:00:00 2001 From: Youhei Nozaki Date: Thu, 12 Nov 2026 10:32:30 +0900 Subject: [PATCH 2/2] fix: keep CI Node floor at 22.18.0 for engines The exact matrix entry verifies package.json engines (>=22.18), not the security-patched latest. 22.x already covers current 22 releases. --- .github/workflows/ci.yml | 2 +- DEVELOPMENT.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4162340..7624caf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: fail-fast: false matrix: # Keep the exact minimum version aligned with package.json engines.node. - node-version: ['22.23.5', '22.x', '24.x', '26.x'] + node-version: ['22.18.0', '22.x', '24.x', '26.x'] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 6416737..8f4d74b 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -127,7 +127,7 @@ typegenはスキーマ取得と生成型の正しさ、SDKは生成型を使う ## カバレッジ・CI・リリース - [カバレッジ設定](.c8rc.json):ファイルごとに文・行98%、分岐95%、関数100%。型定義のみのファイルは対象外で、生成型はコンパイルで検査します。レポートは`coverage/index.html`・`lcov.info`・`coverage-summary.json`です。 -- [CI](.github/workflows/ci.yml):Node.js22.23.5・22系・24系でテスト・カバレッジ・型・パッケージを検査。TypeScript6.0.2の互換性とLint・フォーマットも検査し、カバレッジレポートを14日間保存します。 +- [CI](.github/workflows/ci.yml):Node.js22.18.0・22系・24系でテスト・カバレッジ・型・パッケージを検査。TypeScript6.0.2の互換性とLint・フォーマットも検査し、カバレッジレポートを14日間保存します。 - `test:package`と通常のCIはnpmへ公開しません。公開パッケージ名はスコープなしの`microcms-typegen`です。npmの初期登録用は`0.0.0`(`bootstrap`タグ)、初回正式版は`1.0.0`です。 - [公開ワークフロー](.github/workflows/publish.yml):`v*`タグで起動し、バージョンの一致・`main`への反映、Lint・フォーマット・テスト・型・配布物を検査してから、Node.js24系でnpmへ`latest`として公開します。初期登録用の`0.0.0`やプレリリース版は対象外です。