Skip to content

Commit 8fdf408

Browse files
author
Shailendra Gupta
committed
use parallel actions
1 parent eeb25fc commit 8fdf408

File tree

1 file changed

+23
-10
lines changed

1 file changed

+23
-10
lines changed

.github/workflows/app.yml

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,43 @@
1-
name: Build
1+
name: Lint and Build
22

33
on:
4-
push:
5-
branches:
6-
- master
74
pull_request:
85
branches:
96
- master
107

118
jobs:
12-
lint:
9+
LinterCheck:
1310
runs-on: ubuntu-latest
1411
steps:
1512
- uses: actions/checkout@v2
1613
- uses: actions/setup-node@v1
1714
with:
1815
node-version: '10.x'
19-
- name: Install dependencies
16+
- name: Linter
2017
run: |
2118
yarn
22-
- name: Lint
23-
run: |
2419
yarn lint
25-
- name: Check formatting
20+
21+
FormattingCheck:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v2
25+
- uses: actions/setup-node@v1
26+
with:
27+
node-version: '10.x'
28+
- name: Formatting Check
2629
run: |
30+
yarn
2731
yarn format:check
28-
- name: Check build
32+
33+
BuildCheck:
34+
runs-on: ubuntu-latest
35+
steps:
36+
- uses: actions/checkout@v2
37+
- uses: actions/setup-node@v1
38+
with:
39+
node-version: '10.x'
40+
- name: Build Status
2941
run: |
42+
yarn
3043
yarn build

0 commit comments

Comments
 (0)