File tree Expand file tree Collapse file tree 2 files changed +36
-3
lines changed Expand file tree Collapse file tree 2 files changed +36
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : JavaScript Linting
2
+ on :
3
+ push :
4
+ paths :
5
+ - " package*.json"
6
+ - " .eslint*"
7
+ - " **/*.js"
8
+ - " .github/workflows/lint-js.yml"
9
+ - " !common/**"
10
+
11
+ pull_request :
12
+ paths :
13
+ - " package*.json"
14
+ - " .eslint*"
15
+ - " **/*.js"
16
+ - " .github/workflows/lint-js.yml"
17
+ - " !common/**"
18
+
19
+ jobs :
20
+ lint :
21
+ runs-on : ubuntu-latest
22
+
23
+ steps :
24
+ - name : Clone repository
25
+ uses : actions/checkout@v2
26
+
27
+ # setup-node task is used without a particular version in order to load
28
+ # the ESLint problem matchers
29
+ - name : Set up Node.js
30
+ uses : actions/setup-node@v1
31
+
32
+ - name : Install npm dependencies
33
+ run : npm ci
34
+
35
+ - name : ESLint
36
+ run : npm run lint:es
Original file line number Diff line number Diff line change 15
15
- env : ALLOW_FAILURE=true
16
16
17
17
include :
18
- - stage : Lint
19
- name : JS Linting
20
- script : npm run lint:es
21
18
- stage : Lint
22
19
name : HTML Linting
23
20
script : npm run vnu-jar
You can’t perform that action at this time.
0 commit comments