In the following case I am creating a workflow so that when changes are uploaded to the main branch a tag is created taking into account the version of the package.json
In the root folder of the project you must create the .github/workflows folder so that Github Actions can interpret our YAML file and execute the tasks that we tell it.