File tree Expand file tree Collapse file tree 3 files changed +20
-4
lines changed Expand file tree Collapse file tree 3 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 9
9
bump-version :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - name : Checkout code
12
+ - name : Checkout Code
13
13
uses : actions/checkout@v2
14
14
- name : Automated Version Bump
15
15
Original file line number Diff line number Diff line change
1
+ name : Lint
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ run-linters :
7
+ name : Run Linters
8
+ runs-on : ubuntu-latest
9
+
10
+ steps :
11
+ - name : Checkout code
12
+ uses : actions/checkout@v2
13
+
14
+ - name : Set up Node.js
15
+ uses : actions/setup-node@v1
16
+ with :
17
+ node-version : 12
18
+ - run : npm install
19
+ - run : npm run lint
Original file line number Diff line number Diff line change @@ -10,14 +10,11 @@ install:
10
10
- npm i
11
11
12
12
stages :
13
- - lint
14
13
- name : gh_pages
15
14
if : branch = master
16
15
17
16
jobs :
18
17
include :
19
- - stage : lint
20
- script : npm run lint
21
18
- stage : gh_pages
22
19
script : npm run build:example
23
20
after_script :
You can’t perform that action at this time.
0 commit comments