docs: Use Node 22 for all contexts (#7570)

This had been set only for previews before. This is needed to use
docusaurus. 10.x as used before is eol too and was only needed for live
block injection (which has been removed as we transition to the new
site).

Signed-off-by: Charlie Egan <charlie@styra.com>
This commit is contained in:
Charlie Egan
2025-05-12 11:53:15 +01:00
committed by GitHub
parent 53ab5b7a80
commit 23c06fa94d
+2 -1
View File
@@ -20,9 +20,10 @@ function = "version-redirect"
# with the Hugo version used.
# see: https://github.com/open-policy-agent/opa/pull/7034
HUGO_VERSION = "0.113.0"
# A modern node version is required to build the docusaurus site.
NODE_VERSION = "22.15.0"
[context.deploy-preview]
environment = { NODE_VERSION = "22.15.0" }
command = "make netlify-preview WASM_ENABLED=0 CGO_ENABLED=0"
[context.branch-deploy]