File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed
Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 1010 branches : ["main"]
1111
1212jobs :
13- build :
13+ static-check :
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
18+ - uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
19+ with :
20+ node-version-file : " .node-version"
21+ cache : " npm"
22+ - run : npm ci
23+ - name : Format Check
24+ run : npm run format
25+ - name : Lint
26+ run : npm run lint
27+ - name : Type Check
28+ run : npm run typecheck
29+
30+ build-and-test :
1431 runs-on : ubuntu-latest
1532
1633 strategy :
2643 node-version : ${{ matrix.node-version }}
2744 cache : " npm"
2845 - run : npm ci
29- - run : npm run build
30- - run : npm test
46+ - name : Build
47+ run : npm run build
48+ - name : Unit Tests
49+ run : npm run test
Original file line number Diff line number Diff line change 1818 run : |
1919 npm ci
2020 npm run lint
21+ npm run typecheck
2122 npm run test
2223 npm run build
2324 - run : npm publish
You can’t perform that action at this time.
0 commit comments