-
Notifications
You must be signed in to change notification settings - Fork 29
59 lines (53 loc) · 1.33 KB
/
awesome-linter.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
54
55
56
57
58
59
name: Awesome Linter
on: pull_request
jobs:
lint-html:
name: Lint HTML
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.18.1
- run: npm install --production
- run: npm run lint:html
lint-js:
name: Lint JS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.18.1
- run: npm install --production
- run: npm run lint:js
lint-ts:
name: Lint TS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.18.1
- run: npm install --production
- run: npm run lint:ts
lint-css:
name: Lint CSS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.18.1
- run: npm install --production
- uses: xt0rted/[email protected]
- run: npm run lint:css
lint-branch-name:
name: Validate branch name
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: lekterable/[email protected]
with:
allowed: |
/^[0-9]+-(?:[\d\w]){3,70}/i