Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 874 Bytes

development.md

File metadata and controls

28 lines (19 loc) · 874 Bytes

Development

How this action works

This action works by evaluating the user input as the body of an asynchronous JavaScript function. See main.ts for details.

Building

Before the action can be used, it needs to be compiled to JavaScript:

bash> npm run build

It also has a pre-commit hook configured via husky that should run the build script before each commit. Additionally, this hook formats code and lints it, as well.

Releasing

Releases are done manually, for now:

  1. Ensure that the build is up to date with npm run build.
  2. Bump the package.json and package-lock.json version numbers and commit them.
  3. Update documentation (including updated version numbers).
  4. Tag master with the new version number and create a GitHub release.