-
Notifications
You must be signed in to change notification settings - Fork 10
42 lines (38 loc) · 1.04 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Test
on:
push:
branches: [develop, main]
pull_request:
jobs:
unit-tests-swap-router:
name: Run unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
- run: yarn
- run: yarn workspace @gnoswap-labs/swap-router test:ci
unit-tests-web:
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 build:module
- 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