Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 842 Bytes

DEVELOPING.md

File metadata and controls

35 lines (22 loc) · 842 Bytes

Developing

The steps follow closely GitHub documentation on creating a JavaScript action

Setting up development environment

The requirements are:

  • Git
  • Node.js (version 20)

Directory structure

Directory src contains the main source for the GitHub action. Directory dist contains automatically compiled modules for distribution.

Recompile the action

npm install
npm i -g @vercel/ncc
npm run -s build

You'll see changes in the dist directory.

Testing the action

There is a workflow in this repository for testing the action. Open a pull request to see it run on GitHub Actions.

Merging Pull Requests

You should always recompile the action and commit changes to dist prior to merging a PR.