GitHub action (#173)

* add option to run OpenCommit as a Github Action
This commit is contained in:
Sukharev
2023-05-21 16:15:45 +08:00
committed by GitHub
parent 54006826f8
commit 3eb319a919
17 changed files with 50424 additions and 217 deletions
+4
View File
@@ -0,0 +1,4 @@
export function randomIntFromInterval(min: number, max: number) {
// min and max included
return Math.floor(Math.random() * (max - min + 1) + min);
}
+3
View File
@@ -0,0 +1,3 @@
export function sleep(ms: number) {
return new Promise((resolve) => setTimeout(resolve, ms));
}