A GitHub action to implement something like
cache + queued-build-hook + nix-eval-jobs / mini hydra
... well, this is mostly a starting point to learn how to write a GitHub action.
uses: hypered/bashmu-action
with:
who-to-greet: 'Mona the Octocat'
$ nix-shell
$ npm install @actions/core
$ npm install @actions/github
$ npm install @vercel/ncc
$ npm install typescript
$ node_modules/.bin/ncc build src/main.js
The actual action is dist/index.js
.
A test repository to use the action is at hypered/use-bashmu-action.
git tag -a -m "bashmu-action v0.0" v0.0