Skip to content

Commit

Permalink
Require Node LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Nov 17, 2023
1 parent fe019f9 commit bebf9e8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/*
2 changes: 0 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
[build]
publish = "public"
NODE_ENV = "production"
NODE_VERSION = "18"
command = "npm run build:preview"

[context.production]
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
"hugo-extended": "^0.119.0",
"postcss-cli": "^9.1.0"
},
"enginesComment": "Ensure that engines.node value stays consistent with the project's .nvmrc",
"engines": {
"node": "20.x"
},
"private": true,
"spelling": "cSpell:ignore docsy postget -"
}

0 comments on commit bebf9e8

Please sign in to comment.