This repo contains a set of reusable actions for GitHub Workflows.
- use-ssh: Fetch private repositories
- git-diff-check: Test for specific changes with git diff
- AWS: AWS-related actions
- build-and-push-to-ecr: Build and Push a Docker image to ECR
Install the dependencies
$ yarn install
When creating a new TypeScript action, make sure that all your associated scripts in actions.yml
runs.(pre|main|post) point to dist/<scriptName>.js
.
The script build-all.js
will then find the associated .ts
files within your action folder (<scriptName>.ts
).
When committing, we use a pre-commit hook to build the code.
After testing you can create a git tag to reference the stable and latest action version.
See the versioning documentation
Templated from https://github.com/actions/typescript-action.