Skip to content

Commit fe0f2e9

Browse files
committed
Fix CI test, builds are just too fast now
1 parent 1def36b commit fe0f2e9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ jobs:
1919
node-version: 20
2020
cache: yarn
2121
- run: yarn install
22+
- run: yarn build
2223
- run: yarn test

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"clean": "rescript clean",
2323
"doc-install": "npm install --no-save bsdoc",
2424
"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+
"test": "rescript && echo 'checking for differences in compiled output...' && sleep 1 && git diff-index HEAD -- && echo 'success!'",
2626
"format-all": "rescript format -all",
2727
"prepublishOnly": "rescript clean && rescript build"
2828
},

0 commit comments

Comments
 (0)