-
Notifications
You must be signed in to change notification settings - Fork 16
45 lines (35 loc) · 1.04 KB
/
ui-build.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
43
44
45
name: UI Build
on:
pull_request:
branches: [main]
paths:
- "src/ui/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16"
- name: Install @aqueducthq/common dependencies and build @aqueducthq/common
working-directory: ./src/ui/common
run: npm install --force
- name: Lint @aqueducthq/common
working-directory: ./src/ui/common
run: npm run lint
- name: Link @aqueducthq/common
working-directory: ./src/ui/common
run: npm link
- name: Install OSS app dependencies
working-directory: ./src/ui/app
run: npm link @aqueducthq/common
- name: Format check OSS app
working-directory: ./src/ui/app
run: npm run lint
- name: Build OSS app
working-directory: ./src/ui/app
run: npm run build
- name: Build Storybook
working-directory: ./src/ui/common
run: npm run build-storybook