File tree 4 files changed +12
-6
lines changed
4 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -466,7 +466,7 @@ endif
466
466
netlify-prod : clean docs-clean build docs-production-build docs-new-site
467
467
468
468
.PHONY : netlify-preview
469
- netlify-preview : clean docs-clean build docs-live-blocks-install-deps docs-live-blocks-test docs- dev-generate docs-preview-build
469
+ netlify-preview : clean docs-clean build docs-live-blocks-install-deps docs-dev-generate docs-preview-build docs-new-site
470
470
471
471
# Kept for compatibility. Use `make fuzz` instead.
472
472
.PHONY : check-fuzz
Original file line number Diff line number Diff line change @@ -88,11 +88,13 @@ preview-build:
88
88
--buildDrafts \
89
89
--buildFuture \
90
90
--ignoreCache
91
- make live-blocks-inject
91
+ # this is not compatible with node 22
92
+ # make live-blocks-inject
92
93
93
94
.PHONY : new-site
94
95
new-site :
95
- cd new
96
- npm ci
97
- npx docusaurus build
98
- cp -r build/. ../website/public/new
96
+ cd new && \
97
+ npm ci && \
98
+ npx docusaurus build && \
99
+ mkdir -p ../website/public/new && \
100
+ cp -r build/. ../website/public/new
Original file line number Diff line number Diff line change 16
16
"md-front-matter" : " ^1.0.4" ,
17
17
"raw-loader" : " ^4.0.2" ,
18
18
"react-markdown" : " ^10.1.0"
19
+ },
20
+ "engines" : {
21
+ "node" : " >=22.0.0"
19
22
}
20
23
}
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ function = "badge"
16
16
HUGO_VERSION = " 0.113.0"
17
17
18
18
[context .deploy-preview ]
19
+ environment = { NODE_VERSION = " 22.15.0" }
19
20
command = " make netlify-preview WASM_ENABLED=0 CGO_ENABLED=0"
20
21
21
22
[context .branch-deploy ]
You can’t perform that action at this time.
0 commit comments