-
-
Notifications
You must be signed in to change notification settings - Fork 16
38 lines (35 loc) · 989 Bytes
/
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
name: reviewdog
on:
pull_request:
branches:
- development
jobs:
eslint:
name: check_eslint_error
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3.8.1
with:
node-version-file: ./.node-version
cache: 'yarn'
- name: Yarn install
run: yarn install --frozen-lockfile --prefer-offline
- name: eslint review
uses: reviewdog/action-eslint@v1.20
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-check
eslint_flags: './**/*.{vue,ts,js}'
stylelint:
name: check_stylelint_error
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: stylelint review
uses: reviewdog/action-stylelint@v1.18
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-check
stylelint_input: '**/*.{css,scss,vue}'