File tree Expand file tree Collapse file tree 6 files changed +3850
-68
lines changed
Expand file tree Collapse file tree 6 files changed +3850
-68
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ * text =auto eol =lf
Original file line number Diff line number Diff line change 1+ name : Build and Test
2+
3+ on :
4+ push :
5+ branches : [main]
6+ paths-ignore :
7+ - ' **.md' # Do not need to run CI for markdown changes.
8+ pull_request :
9+ branches : [main]
10+ paths-ignore :
11+ - ' **.md'
12+
13+ jobs :
14+ build-test :
15+ strategy :
16+ matrix :
17+ variations : [
18+ {os: ubuntu-latest, node: latest},
19+ {os: ubuntu-latest, node: 14},
20+ {os: windows-latest, node: latest}
21+ ]
22+
23+ runs-on : ${{ matrix.variations.os }}
24+
25+ steps :
26+ - uses : actions/checkout@v3
27+ - uses : actions/setup-node@v3
28+ with :
29+ node-version : ${{ matrix.variations.node }}
30+ registry-url : ' https://registry.npmjs.org'
31+ - name : Install
32+ run : yarn
33+ - name : Build
34+ run : yarn run build
35+ - name : Test
36+ run : yarn test
37+ env :
38+ JEST_JUNIT_OUTPUT_FILE : " reports/junit/js-test-results.xml"
39+ - name : Lint
40+ run : yarn run lint
41+ - name : Test Report
42+ uses : dorny/test-reporter@v1
43+ if : always()
44+ with :
45+ name : Jest Tests ${{ matrix.variations.os }}-${{ matrix.variations.node }}
46+ path : " reports/junit/js-test-results.xml"
47+ reporter : jest-junit
Original file line number Diff line number Diff line change 11{
22 "extends" : " ./tsconfig.json" ,
3- "include" : [" / **/*.ts" ],
3+ "include" : [" **/*.ts" ],
44 "exclude" : [" node_modules" ]
55}
Original file line number Diff line number Diff line change 11{
2- "include" : [" ./ src/**/*" ],
2+ "include" : [" src/**/*" ],
33 "compilerOptions" : {
44 "module" : " commonjs" ,
55 "esModuleInterop" : true ,
66 "target" : " es6" ,
77 "moduleResolution" : " node" ,
88 "sourceMap" : true ,
99 "outDir" : " dist" ,
10- "rootDir" : " ./ src" ,
10+ "rootDir" : " src" ,
1111 "declaration" : true ,
1212 "declarationMap" : true // enables importers to jump to source
1313 },
You can’t perform that action at this time.
0 commit comments