ci: add Azure Static Web Apps workflow file #207
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
prettier: | |
uses: 0GiS0/tour-of-heroes-angular/.github/workflows/prettier-ci.yml@main | |
eslint: | |
uses: 0GiS0/tour-of-heroes-angular/.github/workflows/eslint-ci.yml@main | |
generate_tag_if_push: | |
needs: [prettier, eslint] | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/main' && github.event_name == 'push' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Bump version and push tag | |
id: create_tag | |
uses: anothrNick/github-tag-action@1.67.0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
WITH_V: true |