feat!: bump engines to Node.js >=22.12.0 (#139)
Some checks failed
Publish documentation / docs (push) Failing after 1m9s

BREAKING CHANGE: Requires Node.js v22.12.0 LTS or higher. ESM-only.
This commit is contained in:
David Sanders
2025-07-03 15:30:07 -07:00
committed by GitHub
parent 175672e430
commit 421713cf80
26 changed files with 1234 additions and 2566 deletions

View File

@@ -18,9 +18,7 @@ jobs:
fail-fast: false
matrix:
node-version:
- '20.5'
- '18.17'
- '16.20'
- 22.12.x
runs-on: macos-latest
steps:
- name: Checkout
@@ -30,12 +28,8 @@ jobs:
with:
node-version: "${{ matrix.node-version }}"
cache: 'yarn'
- name: Install (Node.js v18+)
if : ${{ matrix.node-version != '16.20' }}
- name: Install
run: yarn install --frozen-lockfile
- name: Install (Node.js < v18)
if : ${{ matrix.node-version == '16.20' }}
run: yarn install --frozen-lockfile --ignore-engines
- name: Build
run: yarn build
- name: Lint