-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (50 loc) · 1.24 KB
/
pull_request.yml
File metadata and controls
50 lines (50 loc) · 1.24 KB
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
name: Pull Request
on:
push:
branches-ignore:
- develop
pull_request:
types: [opened reopened syncronize]
branches-ignore:
- develop
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install dependencies
run: yarn install
- name: Lint commit messages
uses: wagoid/commitlint-github-action@v1
- name: Lint code
run: yarn run lint:tslint
- name: Lint styles
run: yarn run lint:stylelint
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install dependencies
run: yarn install
- name: Test
run: yarn run test
chromatic:
name: Chromatic
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install dependencies
run: yarn install
- name: Build
run: yarn workspace @elonkit/angular run build
- name: Chromatic
uses: chromaui/action@v1
with:
storybookBuildDir: dist/elonkit-storybook
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}