File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches :
9+ - master
10+
11+ jobs :
12+ lint :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v2
16+ - uses : actions/setup-node@v1
17+ with :
18+ node-version : ' 10.x'
19+ - name : Install dependencies
20+ run : |
21+ yarn
22+ - name : Lint
23+ run : |
24+ yarn lint
25+ - name : Check formatting
26+ run : |
27+ yarn format:check
28+ - name : Check build
29+ run : |
30+ yarn build
Original file line number Diff line number Diff line change 1212 "build:esm" : " tsc -p . -m ESNext --outDir esm" ,
1313 "build:cjs" : " tsc -p . -m CommonJS --outDir lib" ,
1414 "build:dist" : " rollup -c" ,
15+ "build:docs" : " rm -rf docs && typedoc --name Flash src" ,
16+ "lint" : " eslint src/**/*.ts" ,
17+ "format:check" : " prettier --check src/**/*.ts" ,
1518 "clean" : " rm -rf lib/ && rm -rf esm/ && rm -rf dist"
1619 },
1720 "dependencies" : {
You can’t perform that action at this time.
0 commit comments