Skip to content

Commit a753f07

Browse files
committed
Add delay to init for testing
1 parent 6ea1dea commit a753f07

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

lib/init-action.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/init-action.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,9 @@ async function run(startedAt: Date) {
251251

252252
core.exportVariable(EnvVar.INIT_ACTION_HAS_RUN, "true");
253253

254+
// wait 5 minutes for testing
255+
await new Promise((resolve) => setTimeout(resolve, 5 * 60 * 1000));
256+
254257
configFile = getOptionalInput("config-file");
255258

256259
// path.resolve() respects the intended semantics of source-root. If

0 commit comments

Comments
 (0)