From: Joe Workman Date: Fri, 18 Aug 2023 12:51:49 +0000 (-0700) Subject: run build before test X-Git-Tag: v6.8.1~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=00a96ebffa0da211e88920337a73d036f0754f3f;p=thirdparty%2Ffoundation%2Ffoundation-sites.git run build before test --- diff --git a/package.json b/package.json index 5bf116580..d43642eef 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "homepage": "https://get.foundation/sites", "scripts": { "start": "gulp", - "test": "yarn test:sass && yarn test:javascript:units && yarn test:bundle", + "build": "gulp build", + "test": "yarn build && yarn test:sass && yarn test:javascript:units && yarn test:bundle", "test:single-process": "yarn test:sass && yarn test:javascript:units:single-process && yarn test:bundle:single-process", "test:ci": "yarn test:sass && yarn test:javascript:ci", "test:ci:single-process": "yarn test:sass && yarn test:javascript:ci:single-process",