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 installRun the tests:
npm testAnd lint:
npm run lintFor more information read the associated blog post: https://jeffrafter.com/working-with-github-actions/