This repository contains two example GitHub Actions and associated workflows. The code is written in TypeScript and the tests are written using Jest.
You can either clone this repository or use it as a template.
Once you've got the code, install the dependencies:
npm install
Run the tests:
npm test
And lint:
npm run lint
For more information read the associated blog post: https://jeffrafter.com/working-with-github-actions/