feat!: bump engines to Node.js >=22.12.0 (#139)
Some checks failed
Publish documentation / docs (push) Failing after 1m9s
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:
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user