File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Test
2
+ on :
3
+ push :
4
+ pull_request :
5
+ workflow_dispatch :
6
+
7
+ jobs :
8
+ build :
9
+ name : Test build
10
+ runs-on : ubuntu-20.04
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+ - run : npm i
14
+ - run : npm run build
15
+
16
+ lint :
17
+ name : Check linting
18
+ runs-on : ubuntu-20.04
19
+ steps :
20
+ - uses : actions/checkout@v2
21
+ - run : npm i
22
+ - run : npm run lint
Original file line number Diff line number Diff line change 6
6
"scripts" : {
7
7
"build" : " ncc build src/main.ts --minify --out lib" ,
8
8
"watch" : " ncc build src/main.ts --watch --out lib" ,
9
+ "lint" : " eslint --ext .ts src" ,
9
10
"lint:fix" : " eslint --ext .ts --fix src" ,
10
11
"all-contributors-badge" : " ts-node scripts/all-contributors-badge" ,
11
12
"changelog" : " ts-node scripts/changelog.ts" ,
You can’t perform that action at this time.
0 commit comments