Merge pull request #26 from umutbozdag/dependabot/npm_and_yarn/minimi… #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Name for the github action | |
name: Push to Master | |
# Trigger this action when we push to master or merge a pull-request to master | |
on: | |
push: | |
branches: | |
- master | |
# runs the jobs | |
jobs: | |
build: | |
# runs on ubuntu | |
runs-on: ubuntu-latest | |
steps: | |
# checkout to github | |
- uses: actions/checkout@v4.1.1 | |
# semantic release action from third party | |
- uses: codfish/semantic-release-action@master | |
# Add the environment variable for NPM and github. Github is needed because semantic-release will create a new release and release notes automatically | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} |