Shared GitHub workflows and actions for DFINITY repositories.
- Approve pull request
- Bump version
- Check commit messages
- Check pull request title
- Create pull request
- Generate changelog
- Generate release notes
- Setup Commitizen
- Setup pnpm
- Setup Python
Suffix required actions with :required
to make it easier to determine which actions are required and which aren't.
Example:
name: 'My Action:required'
Check out the contribution guidelines.
- Install
fnm
.curl -fsSL https://get.pnpm.io/install.sh | sh -
- Install the correct version of
nodejs
.fnm install
- Enable the correct version of
nodejs
.fnm use
- Set up the correct version of
pnpm
.corepack enable
- Install dependencies:
pnpm i
To update the version of pnpm
that is used:
corepack use [email protected]
Actions are built locally and the built files are committed to the repository. To build the actions, run:
pnpm build
The GitHub actions pipeline will attempt to build the actions and check if there are any differences between the built files and those that are committed to the repository. If there are any differences, the pipeline will fail.