From 16b11dece8e8b5861ca5d8eac4869d75debb815d Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 26 Mar 2019 21:48:16 +0000 Subject: [PATCH] Run "yarn lint" on build --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index 96c77b9b..2067e4c0 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,4 +1,4 @@ [build] -command = "composer prod && yarn prod && cp -R source/dist output_prod" +command = "yarn lint && composer prod && yarn prod && cp -R source/dist output_prod" publish = "output_prod" environment = { PHP_VERSION = "7.2", YARN_VERSION = "1.13.0" }