mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
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:
+2
-1
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user