-
Notifications
You must be signed in to change notification settings - Fork 10
42 lines (33 loc) · 1 KB
/
lint.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
name: eslint
on:
pull_request:
branches: [main]
jobs:
eslint:
name: runner / eslint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node Environment
uses: ./.github/actions/setup-node
- uses: reviewdog/action-eslint@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review # Change reporter.
fail_on_error: true
eslint_flags: '--cache --report-unused-disable-directives "**/*.{js,jsx,ts,tsx,cjs,mjs,vue}"'
vue_tsc:
name: runner / vue_tsc
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node Environment
uses: ./.github/actions/setup-node
- uses: daflyinbed/reviewdog-action-vue-tsc@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review # Change reporter.
fail_on_error: true
vue_tsc_flags: --noEmit