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 21
21
"start" : " rescript build -w" ,
22
22
"clean" : " rescript clean" ,
23
23
"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!'" ,
25
26
"format-all" : " rescript format -all" ,
26
27
"prepublishOnly" : " rescript clean && rescript build"
27
28
},
You can’t perform that action at this time.
0 commit comments