Skip to content

Commit

Permalink
chore: drop Node.js 16
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Dec 30, 2024
1 parent b6b5b22 commit 8bccf47
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ jobs:
linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
- uses: actions/checkout@v4
- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: "14.x"
node-version: "22"
- name: Cache NPM dependencies
uses: actions/cache@v4
with:
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/tester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,10 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: ["14.x", "16.x", "18.x"]
exclude:
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/running-variations-of-jobs-in-a-workflow#excluding-matrix-configurations
- os: macos-latest
node-version: 14.x
node-version: ["18", "20", "22"]
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
Expand All @@ -38,9 +34,9 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: ["14.x"]
node-version: ["22"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@
"mocha": "^10.4.0"
},
"engines": {
"node": ">=14"
"node": ">=18"
}
}

0 comments on commit 8bccf47

Please sign in to comment.