Template for new Github Actions based on Typescript with the Best Practices and Ready to be Released
Starting a new github action with NodeJS can be a bit frustrating, there are a lot of things to consider if we want to have a really good starting point where later we can iterate.
The main objective of this template is to provide a good base configuration for our NodeJS Github Actions that we can start using.
@/src
instead of ../../../src
).main
branch using conventional commits and that's all. Automatically we will:
dist
folder. Also, it will suggest automatic and manual ways of fixing it via IssueOps approach. Click here to see an example.Are you thinking in start some new service in the NodeJS ecosystem? If you like this template there are others base on this you can check:
Bellow is a simple example how to use this action
name: github-action-nodejs-template
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout ๐ฌ
uses: actions/checkout@v4
- name: Github action template ๐คฉ
uses: AlbertHernandez/github-action-nodejs-template@v0
name | description | required | default |
---|---|---|---|
name |
Name the action will use to say Hello. |
false |
World |
name | description |
---|---|
message |
Hello world message |
You're thinking about contributing to this project? Take a look at our contribution guide.