Skip to content

Commit

Permalink
chore(maint): add support of Node 22 / drop support of Node 18 (#33)
Browse files Browse the repository at this point in the history
ntalfer authored Jan 15, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent c6669d2 commit 8453d82
Showing 4 changed files with 335 additions and 301 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -8,10 +8,10 @@ jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '22'
- name: Set up Python
uses: actions/setup-python@v1
with:
18 changes: 9 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -8,15 +8,15 @@ jobs:
matrix:
os:
- ubuntu-20.04
- macos-11
- macos-13
- windows-2019
node_version:
- "18"
- "20"
- "22"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
- name: Install packages
@@ -26,10 +26,10 @@ jobs:
coverage:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "22"
- name: Install packages
run: npm install
- name: Run eslint
@@ -39,11 +39,11 @@ jobs:
- name: Run coverage
run: npm run coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v1
with:
606 changes: 320 additions & 286 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
"@types/chai": "^4.3.4",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^10.0.1",
"@types/node": "^18.11.18",
"@types/node": "^22.10.3",
"@types/sinon": "^10.0.13",
"@types/webpack": "^5.28.5",
"@types/webpack-env": "^1.18.4",
@@ -57,7 +57,7 @@
"browserslist": [
"last 2 versions",
"Firefox ESR",
"node >= 18",
"node >= 20",
"not IE 11",
"not dead"
],
@@ -84,6 +84,6 @@
"ansi-regex": "^5.0.1"
},
"engines": {
"node": ">=18"
"node": ">=20"
}
}

0 comments on commit 8453d82

Please sign in to comment.