-
-
Notifications
You must be signed in to change notification settings - Fork 25
56 lines (54 loc) · 1.69 KB
/
reviewdog.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
name: reviewdog
on: [pull_request]
jobs:
stylelint:
name: runner / stylelint
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node_version: [14, 16, 18]
steps:
- uses: actions/checkout@v4
- name: setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
- name: stylelint-github-pr-check
uses: ./
with:
github_token: ${{ secrets.github_token }}
stylelint_config: 'stylelint-config-recommended'
stylelint_ignore: '/testdata-subproject/'
- name: stylelint-github-check
uses: ./
with:
github_token: ${{ secrets.github_token }}
reporter: github-check
level: warning
stylelint_ignore: '/testdata-subproject/'
- name: stylelint-github-pr-review
uses: ./
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
stylelint_ignore: '/testdata-subproject/'
- name: stylelint-github-pr-check-subproject
uses: ./
with:
github_token: ${{ secrets.github_token }}
stylelint_config: 'stylelint-config-recommended'
workdir: ./testdata-subproject
- name: stylelint-github-check-subproject
uses: ./
with:
github_token: ${{ secrets.github_token }}
reporter: github-check
level: warning
workdir: ./testdata-subproject
- name: stylelint-github-pr-review-subproject
uses: ./
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
workdir: ./testdata-subproject