refactor angular config for better dev mode #881
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: CI | |
# This workflow is triggered on pushes | |
on: | |
push: | |
branches: [ main, beta ] | |
# Publish semver tags as releases. | |
release: | |
types: [published] | |
jobs: | |
test: | |
uses: ./.github/workflows/development.yaml | |
test-coverage: | |
name: Test Coverage Upload | |
needs: | |
- test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Download coverage reports | |
uses: actions/download-artifact@v3 | |
with: | |
name: coverage | |
- name: Upload coverage reports | |
uses: codecov/codecov-action@v4 | |
with: | |
files: ${{ github.workspace }}/backend-coverage.txt,${{ github.workspace }}/lcov.info | |
flags: unittests | |
fail_ci_if_error: true | |
token: ${{ secrets.CODECOV_TOKEN }} # required | |
verbose: true | |
storybook: | |
name: Storybook Upload | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: cd frontend && yarn install | |
- uses: chromaui/action@v1 | |
with: | |
workingDir: frontend | |
buildScriptName: "build-storybook" | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
token: ${{ secrets.GITHUB_TOKEN }} |