Skip to content

Commit

Permalink
Update CI to node 16, 20 (#56)
Browse files Browse the repository at this point in the history
* Update CI to node 16, 20

* Update testing deps to support node 20

* Add chai types
  • Loading branch information
eablack authored Aug 28, 2024
1 parent f1b8292 commit b4b7dec
Show file tree
Hide file tree
Showing 4 changed files with 432 additions and 332 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
node-version: [16.x, 20.x]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 20.17.0
27 changes: 18 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/heroku/heroku-api-plugin/issues"
},
"engines": {
"node": ">= 10.0"
"node": ">= 16.0"
},
"dependencies": {
"@heroku-cli/color": "^1.1.14",
Expand All @@ -22,20 +22,19 @@
"http-call": "^5.3.0"
},
"devDependencies": {
"@fancy-test/nock": "^0.1.1",
"@oclif/test": "^1.0.9",
"@types/chai": "^4.1.3",
"@types/mocha": "^5.2.1",
"@types/nock": "^9.1.3",
"@types/node": "^14.4.0",
"@types/chai": "^4.3.14",
"@oclif/test": "^1.2.4",
"@types/mocha": "^10.0.6",
"@types/node": "16.11.7",
"@types/supports-color": "^5.3.0",
"chai": "^4.4.1",
"eslint": "^7.0.0",
"eslint-config-oclif": "^3.1.0",
"eslint-config-oclif-typescript": "^0.2.0",
"eslint-plugin-oclif": "^0.1.0",
"globby": "^8.0.1",
"mocha": "^5.2.0",
"nock": "^9.3.0",
"mocha": "^10.4.0",
"nock": "^13.5.1",
"ts-node": "^9.0.0",
"typescript": "3.8.3"
},
Expand All @@ -48,6 +47,16 @@
"heroku-plugin"
],
"license": "ISC",
"mocha": {
"require": [
"ts-node/register",
"source-map-support/register"
],
"watch-extensions": "ts",
"recursive": true,
"reporter": "spec",
"timeout": 360000
},
"oclif": {
"bin": "heroku",
"commands": "./lib/commands"
Expand Down
Loading

0 comments on commit b4b7dec

Please sign in to comment.