Skip to content

Commit

Permalink
feat: Use Node v20 (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
bennycode authored Dec 18, 2023
1 parent 5a9a0b4 commit ba9a994
Show file tree
Hide file tree
Showing 5 changed files with 691 additions and 453 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [16.x]
node-version: [20.x]
steps:
- name: 'Checkout Git repository with history for all branches and tags'
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .huskyrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"hooks": {
"pre-commit": "pretty-quick --staged && lint-staged"
"pre-commit": "lint-staged"
}
}
23 changes: 11 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,22 @@
},
"description": "Waits for localhost ports to be ready before running a supplied command.",
"devDependencies": {
"@types/jest": "27.4.1",
"@types/node": "17.0.25",
"@typescript-eslint/eslint-plugin": "5.20.0",
"@typescript-eslint/parser": "5.20.0",
"@types/jest": "29.5.11",
"@types/node": "20.10.5",
"@typescript-eslint/eslint-plugin": "6.14.0",
"@typescript-eslint/parser": "6.14.0",
"cross-env": "7.0.3",
"eslint": "8.13.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.0.0",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.0.1",
"eslint-plugin-sort-keys-fix": "1.1.2",
"eslint-plugin-typescript-sort-keys": "2.1.0",
"eslint-plugin-unused-imports": "2.0.0",
"eslint-plugin-typescript-sort-keys": "3.1.0",
"eslint-plugin-unused-imports": "3.0.0",
"generate-changelog": "1.8.0",
"husky": "4.3.8",
"jest": "29.7.0",
"lint-staged": "12.3.8",
"prettier": "2.6.2",
"pretty-quick": "3.1.3",
"lint-staged": "15.2.0",
"prettier": "3.1.1",
"rimraf": "5.0.5",
"ts-jest": "29.1.1",
"ts-node": "10.9.2",
Expand Down
2 changes: 1 addition & 1 deletion src/runWhenHealthy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export enum HealthCheckStatus {
UNHEALTHY = 'unhealthy',
}

let intervalHandle: NodeJS.Timer;
let intervalHandle: NodeJS.Timeout;

export const runWhenHealthy = (
instanceId: string,
Expand Down
Loading

0 comments on commit ba9a994

Please sign in to comment.