diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6736c7a..02ab108 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,10 @@ concurrency: jobs: verify: name: verify + strategy: + fail-fast: false + matrix: + node: ['22.12.0', '22.x'] runs-on: ubuntu-latest steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 @@ -23,7 +27,8 @@ jobs: - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7 with: - node-version: 22 + node-version: ${{ matrix.node }} + check-latest: ${{ matrix.node == '22.x' }} cache: pnpm - name: Install diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..1d9b783 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +22.12.0 diff --git a/README.ko.md b/README.ko.md index 0577863..287ca68 100644 --- a/README.ko.md +++ b/README.ko.md @@ -230,3 +230,9 @@ pnpm check # all three ## 라이선스 MIT © 정인권 (developjik) + +## 개발 기준선 (DEV-128) + +개발과 CI는 Node.js 22.12.0(`.nvmrc`) 이상을 사용합니다. Vitest 5.1.1의 공식 지원 범위에는 Node 20.19가 없습니다. 실행이 된다는 이유로 공식 지원이라고 부르지 않습니다. 패키지 사용자의 기존 engines는 유지합니다. Node 20 지원 패키지는 테스트 러너 없이 빌드한 tarball의 운영 의존성만 설치하고 CLI/import를 별도로 검사합니다. 개발 TypeScript 기준은 7.0.2입니다. + +이 패키지의 사용자 런타임은 기존과 같이 Node22.12.0 이상입니다. Node20은 지원하거나 CI 검증하지 않습니다. diff --git a/README.md b/README.md index 3f92742..eaabc38 100644 --- a/README.md +++ b/README.md @@ -271,3 +271,7 @@ agents' leases inside one another and asserts exactly one survives. ## License MIT © 정인권 (developjik) + +## Development baseline (DEV-128) + +Use Node.js 22.12.0 (`.nvmrc`) for development and CI. Vitest 5.1.1 requires Node 22.12+ on its supported release lines; Node 20.19 is outside its declared development support range. It may execute there, but CI does not treat that as supported test-runner usage. This development requirement does not change the package engine declaration. Runtime compatibility must be checked using the built package, separately from the test runner. TypeScript 7.0.2 is the development compiler baseline.