You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SyntaxError: Invalid or unexpected token
at new AsyncFunction (<anonymous>)
at callAsyncFunction (/home/runner/_work/_actions/actions/github-script/v7/dist/index.js:35424:16)
at main (/home/runner/_work/_actions/actions/github-script/v7/dist/index.js:35522:26)
at /home/runner/_work/_actions/actions/github-script/v7/dist/index.js:35497:1
at /home/runner/_work/_actions/actions/github-script/v7/dist/index.js:35553:3
at Object.<anonymous> (/home/runner/_work/_actions/actions/github-script/v7/dist/index.js:35556:12)
at Module._compile (node:internal/modules/cjs/loader:1241:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Module._load (node:internal/modules/cjs/loader:938:12)
Error: Unhandled error: SyntaxError: Invalid or unexpected token
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am trying to implement below scenario using github-script action:
I am trying to use setTimeOut function to wait for 10secs (Ref: https://codewithsnowbit.hashnode.dev/how-can-you-implement-the-sleep-function-in-javascript)
but I get below error in workflow run:
Please let me know what might be the issue.
Beta Was this translation helpful? Give feedback.
All reactions