Skip to content

Commit fc0df0a

Browse files
committed
docs: changed yml file
1 parent 0d431eb commit fc0df0a

File tree

1 file changed

+23
-14
lines changed

1 file changed

+23
-14
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,39 @@
1+
# on:
2+
# push:
3+
# branches: [main]
4+
# pull_request:
5+
# branches: [main]
6+
17
name: Build & test CI
28

39
on:
410
push:
5-
branches: [main]
11+
branches:
12+
- main
613
pull_request:
7-
branches: [main]
14+
branches:
15+
- main
816

917
jobs:
1018
build:
1119
runs-on: ubuntu-latest
1220

1321
steps:
14-
- uses: actions/checkout@v2
22+
- name: Checkout repository
23+
uses: actions/checkout@v2
1524
with:
1625
fetch-depth: 0
1726

18-
- name: Install dependencies
19-
run: yarn
27+
- name: Install dependencies
28+
run: yarn install
29+
30+
- name: Build packages
31+
run: yarn build
2032

21-
- name: Build packages
22-
run: yarn build
33+
- name: Automated test
34+
run: yarn test
2335

24-
- name: Automated test
25-
run: yarn test
26-
27-
- name: Visual regression tests
28-
env:
29-
CHROMATIC_PROJECT_TOKEN: ${{ secrets.chpt_a1073d7bf2439e5 }}
30-
run: yarn test:chromatic
36+
- name: Run Chromatic
37+
run: yarn test:chromatic
38+
env:
39+
CHROMATIC_PROJECT_TOKEN: ${{ secrets.chpt_a1073d7bf2439e5 }}

0 commit comments

Comments
 (0)