Skip to content

Commit

Permalink
Drop support for Node before v20
Browse files Browse the repository at this point in the history
These versions seem to be broken in CI, and they're unsupported anyway,
so it's time to jump forwards a bit.
  • Loading branch information
pimterry committed Dec 19, 2024
1 parent 574a5bc commit 27512ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x, v20.8.0, 22.x]
node-version: [20.x, v20.18.1, 22.x, 23.x]

steps:
- uses: actions/checkout@v3
Expand All @@ -26,9 +26,9 @@ jobs:
NODE_OPTIONS: ${{ matrix.node-version == '22.x' && '--experimental-require-module' || '' }}

- name: Deploy docs
if: github.ref == 'refs/heads/main' && matrix.node-version == 'v20.8.0'
if: github.ref == 'refs/heads/main' && matrix.node-version == 'v20.18.1'
uses: JamesIves/[email protected]
with:
single-commit: true
branch: gh-pages
folder: typedoc
folder: typedoc
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"homepage": "https://github.com/httptoolkit/mockrtc#readme",
"engines": {
"node": ">=14.17.0"
"node": ">=20.0.0"
},
"devDependencies": {
"@esbuild-plugins/node-globals-polyfill": "^0.1.1",
Expand Down

0 comments on commit 27512ee

Please sign in to comment.