Skip to content

Commit ad4d97c

Browse files
committed
configure Netlify to use Node.js 16 and npx to run gulp [skip ci]
1 parent 5bcb607 commit ad4d97c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

netlify.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[build]
22
publish = "public"
3-
command = "node_modules/.bin/gulp preview:build"
3+
command = "npx gulp preview:build"
44

55
[build.environment]
66
CI = "true"
7-
NODE_VERSION = "10"
7+
NODE_VERSION = "16"
88

99
[context.deploy-preview]
10-
command = "node_modules/.bin/gulp preview:build && node_modules/.bin/gulp --series build bundle:pack"
10+
command = "npx gulp preview:build && npx gulp --series build bundle:pack"
1111

1212
[[headers]]
1313
for = "/_/font/*"

0 commit comments

Comments
 (0)