Merge pull request #223 from gnoswap-labs/GSW-408-Main-Common-Improve-UI #785
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: | |
name: Run unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup | |
- run: yarn | |
- run: yarn workspace @gnoswap-labs/web test:ci | |
build-tests: | |
name: Run build tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- 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 |