Automated GitHub Actions Deployment with Semantic-Release
Never forget to publish the latest GitHub Actions
Published in
5 min readMay 18, 2021
What are GitHub Actions?
GitHub Actions are code-defined workflows that can be triggered by GitHub events to monitor repository health.
What are TS/JS GitHub Actions?
GitHub Actions need code to define the workflow and configuration to define the environment to execute the code.
There are three types of GitHub Actions:
- TS GitHub Actions which define workflow with TypeScript and use a Node.js runtime as the execution environment.
- Docker GitHub Actions which define both the workflow and environment with a Dockerfile.
- Composition GitHub Actions which is a combination of multiple GitHub Actions.
TS GitHub Actions are commonly preferred when possible because it’s:
- Portable: it runs on all operating systems whereas Docker actions only runs on Linux and composition actions depend on their children’s availabilities.
- Faster: although not significantly, allocating a Node.js runtime is in general faster than a docker container.
- Maintainable: thanks to TypeScript’s…