Skip to content

Commit

Permalink
only support node 20+
Browse files Browse the repository at this point in the history
  • Loading branch information
folkvir committed Nov 6, 2024
1 parent 6da11b2 commit ca5bfd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/npm_test_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
# since last mocha version is compatible for node 12.0.0+ we remove 10.x matrix
# Only LTS major version
node-version: ['12', '14', '16', 'lts/*']
# Only maintenance and LTS major versions
node-version: ['20', '22', '23', '24', 'lts/*']
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@
"arrowParens": "avoid"
},
"engines": {
"node": ">=12"
"node": ">=20"
}
}

0 comments on commit ca5bfd5

Please sign in to comment.