Skip to content

Commit e851062

Browse files
committed
run lint task in deploy preview [skip ci]
1 parent 644f83b commit e851062

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

netlify.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ OPTANON_SCRIPT_URL = "https://cdn.cookielaw.org/scripttemplates/otSDKStub.js"
1111
OPTANON_SCRIPT_DATA_DOMAIN_SCRIPT = "748511ff-10bf-44bf-88b8-36382e5b5fd9"
1212

1313
[context.branch-deploy]
14-
command = "node_modules/.bin/gulp preview:build && node_modules/.bin/gulp --series build bundle:pack"
14+
command = "node_modules/.bin/gulp preview:build && node_modules/.bin/gulp --series lint build bundle:pack"
1515

1616
[context.deploy-preview]
17-
command = "node_modules/.bin/gulp preview:build && node_modules/.bin/gulp --series build bundle:pack"
17+
command = "node_modules/.bin/gulp preview:build && node_modules/.bin/gulp --series lint build bundle:pack"
1818

1919
[[headers]]
2020
for = "/_/font/*"

0 commit comments

Comments
 (0)