diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 78863a7..11da4ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,4 +19,5 @@ jobs: node-version: 20 cache: yarn - run: yarn install + - run: yarn build - run: yarn test diff --git a/package.json b/package.json index 744bb03..3a196f5 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "clean": "rescript clean", "doc-install": "npm install --no-save bsdoc", "doc": "rescript && bsdoc build api && bsdoc support-files", - "test": "rescript && echo 'checking for differences in compiled output...' && git diff-index --quiet HEAD -- && echo 'success!'", + "test": "rescript && echo 'checking for differences in compiled output...' && sleep 1 && git diff-index HEAD -- && echo 'success!'", "format-all": "rescript format -all", "prepublishOnly": "rescript clean && rescript build" },