This action blocks the given number of milliseconds. To learn how this action was built, see "Create a JavaScript Action using TypeScript".
Required The number of milliseconds to block.
The time the action stopped.
uses: tyntec/github-action-sms@main
with:
milliseconds: 1000
Install the dependencies
$ npm install
Build the typescript and package it for distribution
$ npm run build && npm run package
Run the tests ✔️
$ npm test
PASS ./main.test.js
✓ throws invalid number (3ms)
✓ wait 500 ms (504ms)
✓ test runs (742ms)
...
Actions are run from GitHub repos so we will checkin the packed dist folder.
Then run ncc and push the results:
$ npm run package
$ git add dist
$ git commit -a -m "prod dependencies"
$ git push origin releases/v1
Your action is now published! 🚀
After testing you can create a v1 tag to reference the stable and latest V1 action