Release #49
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
# This is a basic workflow to automate the creation of the build artifact | |
name: Release | |
# Controls when the workflow will run | |
on: | |
schedule: | |
- cron: "0 9 15 * *" | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install NPM dependencies | |
run: npm ci | |
- name: Run tests | |
run: grunt test | |
# Release using semantic-relaease if there are new smenatic commits | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: npx semantic-release | |
- name: Bump Version | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
uses: ./.github/actions/bump-version |