File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Node CI
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ lint :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ - uses : actions/setup-node@v2
13+ with :
14+ node-version : 16.x
15+ - name : Install dependencies
16+ run : npm ci
17+ - name : Run ESLint
18+ run : npm run eslint
19+ - name : Run Prettier
20+ run : npm run prettier
21+ - name : Check types
22+ run : npm run check-types
Original file line number Diff line number Diff line change 1919 "test" : " jest --coverage" ,
2020 "eslint" : " eslint src/* " ,
2121 "eslint-fix" : " npm run eslint -- --fix" ,
22- "compile" : " tsc --project tsconfig.esm.json && tsc --project tsconfig.cjs.json"
22+ "compile" : " tsc --project tsconfig.esm.json && tsc --project tsconfig.cjs.json" ,
23+ "check-types" : " tsc --project tsconfig.esm.json"
2324 },
2425 "devDependencies" : {
2526 "@babel/plugin-transform-modules-commonjs" : " ^7.17.7" ,
5354 "typescript" : " ^4.6.3" ,
5455 "vite" : " ^2.9.1"
5556 }
56- }
57+ }
You can’t perform that action at this time.
0 commit comments