Skip to content

Commit

Permalink
Refactor jira update script to use typescript (#13860)
Browse files Browse the repository at this point in the history
* Refactor jira update script to use typescript

* Make use of TS 5.5 inferred type predicate

* Add tests

* Add dryrun capability

* Add more logging

* Address comments
  • Loading branch information
HenryNguyen5 authored Jul 29, 2024
1 parent d3198a6 commit bf30e1d
Show file tree
Hide file tree
Showing 7 changed files with 1,328 additions and 141 deletions.
11 changes: 10 additions & 1 deletion .github/scripts/jira/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,17 @@
"node": ">=18",
"pnpm": ">=9"
},
"scripts": {
"start": "tsx update-jira-issue.ts"
},
"dependencies": {
"@actions/core": "^1.10.1",
"node-fetch": "^2.7.0"
"jira.js": "^4.0.1",
"tsx": "^4.16.2"
},
"devDependencies": {
"@types/node": "^20.14.10",
"typescript": "^5.5.3",
"vitest": "^2.0.3"
}
}
Loading

0 comments on commit bf30e1d

Please sign in to comment.