Skip to content
Closed
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
22 changes: 7 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
pull_request:

env:
PRIMARY_NODEJS_VERSION: 20
PRIMARY_NODEJS_VERSION: 24

jobs:
lint:
Expand Down Expand Up @@ -45,21 +45,15 @@ jobs:
matrix:
os: [ubuntu-latest]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
node_version:
- 10
- 12.20.0
- 14.13.0
- 16
- 18
- 20
- 22
- 24
node:
- 25
- 24
- 22
- 22
- "20.19.0"
include:
- os: windows-latest
node: 10
- os: windows-latest
node: 22
node: lts/*

steps:
- uses: actions/checkout@v4
Expand All @@ -70,10 +64,8 @@ jobs:
cache: "npm"
- run: npm ci
- run: npm run test -- --reporter min
if: ${{ matrix.node_version != '10' }}
- run: npm run esm-to-cjs-and-test -- -- --reporter min
- run: npm run coverage
if: ${{ matrix.node_version == env.PRIMARY_NODEJS_VERSION }}
- name: Coveralls parallel
if: ${{ matrix.node_version == env.PRIMARY_NODEJS_VERSION }}
uses: coverallsapp/github-action@1.1.3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"typescript": "^5.7.3"
},
"engines": {
"node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0"
"node": "^20.19.0 || ^22.13.0 || >=24"
},
"files": [
"data",
Expand Down