Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ updates:
interval: daily
time: '05:00'
timezone: Asia/Tokyo
# Keep Node types aligned with the Node 22 runtime baseline; minor/patch updates remain enabled.
ignore:
- dependency-name: "@types/node"
update-types: ["version-update:semver-major"]
open-pull-requests-limit: 10
groups:
compatible-updates:
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/prepare-npm-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ permissions:
contents: read
jobs:
npm-package:
strategy:
fail-fast: false
matrix:
node: ['22', '24.22.1']
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
Expand Down Expand Up @@ -40,7 +44,7 @@ jobs:
PYCODE
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1
with:
node-version: '24.22.1'
node-version: ${{ matrix.node }}
package-manager-cache: false
- name: Isolate public registry configuration
run: |
Expand All @@ -60,14 +64,16 @@ jobs:
pnpm run check:tooling
node scripts/verify-packed-consumer.mts
- name: Pack exact source distributions without lifecycle hooks
if: matrix.node == '24.22.1'
run: |
mkdir outgoing
npm pack --ignore-scripts --json --pack-destination "$GITHUB_WORKSPACE/outgoing"
(cd packages/document-html && npm pack --ignore-scripts --json --pack-destination "$GITHUB_WORKSPACE/outgoing")
(cd packages/document-markdown && npm pack --ignore-scripts --json --pack-destination "$GITHUB_WORKSPACE/outgoing")
printf '%s\n' "$GITHUB_SHA" > outgoing/source-sha.txt
(cd outgoing && sha256sum ./*.tgz > SHA256SUMS)
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
- if: matrix.node == '24.22.1'
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
with:
name: reviewed-npm-packages
path: outgoing/
Expand Down
2 changes: 2 additions & 0 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@ pnpm test:consumer

Dependency updates: [repository policy](docs/dependency-updates.md).
Registry releases: [version tags and GitHub OIDC](docs/registry-release.md).

CIではNode.js 22の最新パッチと24.22.1で、ビルド・型検査・ワークスペースのテスト・依存監査・開発ツール・配布パッケージの利用側を検証します。公開用の検証済みアーカイブは24.22.1でのみ生成し、両方のジョブの成功を必要とします。最低対応ランタイムに合わせて`@types/node`は22系を維持し、Dependabotのマイナー・パッチ更新は継続します。型定義のメジャー更新は、対応ランタイムの見直し時に行います。
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,5 @@ Starting with 0.11.1, releases use GitHub Actions OIDC trusted publishing from `

Dependency updates: [repository policy](docs/dependency-updates.md).
Registry releases: [version tags and GitHub OIDC](docs/registry-release.md).

CI validates builds, type checking, workspace tests, dependency audit, tooling and packed consumers on the latest Node.js 22 patch and Node.js 24.22.1. Reviewed publication archives are produced only on Node.js 24.22.1, and both matrix jobs must pass. Keep `@types/node` on 22.x to match the minimum supported runtime; Dependabot continues minor and patch updates while major type updates require a deliberate runtime-baseline change.
Loading