GSW-1561 Imporove Governance UI #1988
Workflow file for this run
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: Test | |
on: | |
push: | |
branches: [develop, main] | |
pull_request: | |
jobs: | |
unit-tests-web: | |
name: Run unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Action | |
uses: ./.github/actions/setup | |
- name: Install Dependencies | |
run: yarn | |
- name: Run Test | |
run: yarn workspace @gnoswap-labs/web test:ci | |
- name: SonarCloud Scan | |
uses: SonarSource/sonarcloud-github-action@master | |
env: | |
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }} | |
build-tests: | |
name: Run build tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/setup | |
- run: yarn | |
- run: yarn workspace @gnoswap-labs/web build | |
# TODO: Apply when you're done setting up your storybook environment | |
# storybook-tests: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - uses: ./.github/actions/setup | |
# - run: yarn workspace @gnoswap-labs/web test-storybook |