From c5df5e46e839d95fba9ab6edb7d25bac1caad2fe Mon Sep 17 00:00:00 2001 From: Andrew Herron Date: Wed, 22 May 2024 22:28:32 +1000 Subject: [PATCH] Fix CI test, builds are just too fast now --- .github/workflows/ci.yml | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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..45cad8d 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 5 && git diff-index HEAD -- && echo 'success!'", "format-all": "rescript format -all", "prepublishOnly": "rescript clean && rescript build" },