-
-
Notifications
You must be signed in to change notification settings - Fork 23
56 lines (54 loc) · 1.78 KB
/
reviewdog.yml
File metadata and controls
56 lines (54 loc) · 1.78 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
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: [18, 20, 22]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: setup Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
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