File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed
Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+
11+ jobs :
12+ test :
13+ name : Test
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v3
17+ - uses : actions/setup-node@v3
18+ with :
19+ node-version : 20
20+ cache : yarn
21+ - run : yarn install
22+ - run : yarn test
Original file line number Diff line number Diff line change 2121 "start" : " rescript build -w" ,
2222 "clean" : " rescript clean" ,
2323 "doc-install" : " npm install --no-save bsdoc" ,
24- "test" : " rescript && bsdoc build api && bsdoc support-files" ,
24+ "doc" : " rescript && bsdoc build api && bsdoc support-files" ,
25+ "test" : " rescript && echo 'checking for differences in compiled output...' && git diff-index --quiet HEAD -- && echo 'success!'" ,
2526 "format-all" : " rescript format -all" ,
2627 "prepublishOnly" : " rescript clean && rescript build"
2728 },
You can’t perform that action at this time.
0 commit comments