Skip to content

Commit

Permalink
Specify a node version in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharysarah committed May 14, 2020
1 parent f8451e8 commit 88de68e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ command = "make non-production-build"

[build.environment]
HUGO_VERSION = "0.70.0"
NODE_VERSION = "10.12.1"

[context.production.environment]
HUGO_BASEURL = "https://kubernetes.io/"
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@
"babel-loader": "^8.0.2",
"netlify-lambda": "^0.4.0",
"node-fetch": "^2.2.0"
},
"engines": {
"node": ">=10.20.1 <12.11.1"
}
}

0 comments on commit 88de68e

Please sign in to comment.