-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (51 loc) · 1.17 KB
/
continuous-integration.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
49
50
51
52
53
name: Continuous Integration
on:
pull_request:
branches-ignore:
- production
push:
branches-ignore:
- production
jobs:
eslint:
name: 'Eslint'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14.15.5'
- run: npm ci
- run: npm run --quiet eslint
stylelint:
name: 'Stylelint'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14.15.5'
- run: npm ci
- run: npm run --quiet stylelint
prettier:
name: 'Prettier'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14.15.5'
- run: npm ci
- run: npm run --quiet prettier-check
test:
name: 'Test'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14.15.5'
- run: npm ci
- run: npm run --quiet bootstrap-ci
- run: npm run --quiet build
- run: npm run --quiet test