Fix PR playground
parent
16a84e88d6
commit
2505926533
|
@ -19,7 +19,7 @@ shell.mkdir("-p", docs);
|
||||||
|
|
||||||
if (isPullRequest) {
|
if (isPullRequest) {
|
||||||
// --- Build prettier for PR ---
|
// --- Build prettier for PR ---
|
||||||
const pkg = require("../../package.json");
|
const pkg = require("../package.json");
|
||||||
pkg.version = `999.999.999-pr.${process.env.REVIEW_ID}`;
|
pkg.version = `999.999.999-pr.${process.env.REVIEW_ID}`;
|
||||||
pipe(JSON.stringify(pkg, null, 2)).to("package.json");
|
pipe(JSON.stringify(pkg, null, 2)).to("package.json");
|
||||||
shell.exec("node scripts/build/build.js");
|
shell.exec("node scripts/build/build.js");
|
||||||
|
|
Loading…
Reference in New Issue