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 66 "scripts" : {
77 "build" : " ncc build src/main.ts --minify --out lib" ,
88 "watch" : " ncc build src/main.ts --watch --out lib" ,
9+ "lint" : " eslint --ext .ts src" ,
910 "lint:fix" : " eslint --ext .ts --fix src" ,
1011 "all-contributors-badge" : " ts-node scripts/all-contributors-badge" ,
1112 "changelog" : " ts-node scripts/changelog.ts" ,
You can’t perform that action at this time.
0 commit comments