-
Notifications
You must be signed in to change notification settings - Fork 2
68 lines (53 loc) · 1.52 KB
/
ci.yaml
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: main CI workflows
on: push
jobs:
ci:
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_REPO_CACHE_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_REPO_CACHE_TEAM }}
steps:
- name: 📥 Checkout
uses: actions/checkout@v2
with:
fetch-depth: 2
- name: 📥 Install dependencies
uses: ./.github/actions/pnpm
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: 📥 Install global dependencies
shell: sh
run: pnpm install -g concurrently wait-on turbo@latest
- name: turbo
run: turbo test build typecheck
shell: sh
- name: run rust
run: ./ci/rust.sh
shell: bash
# - name: storybook tests
# run: ./ci/test-sb.sh
# shell: bash
# - name: backend integration test
# run: ./ci/test-be.sh
# shell: sh
# - name: run end-to-end test
# run: ./ci/test-e2e.sh
# shell: bash
chromatic:
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout
uses: actions/checkout@v2
- name: 📥 Install dependencies
uses: ./.github/actions/pnpm
- run: turbo --filter ui build
- name: chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
storybookBuildDir: ./pkgs/ui/storybook-static
skip: true