-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (38 loc) · 960 Bytes
/
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
46
47
48
name: Build
on:
push:
branches:
- develop
- main
- next
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
node: ["18.17.1"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: yarn
# Turn off windows-defender for this folder to speed up compile
- if: runner.os == 'Windows'
name: windows-defender
run: powershell -Command Add-MpPreference -ExclusionPath "."
- name: install
run: yarn install --network-timeout 1000000
- name: compile
run: yarn xy compile
- name: deps
run: yarn xy deps
- name: lint
run: yarn xy lint
- name: cycle
run: yarn xy cycle
- name: build-storybook
run: yarn build-storybook