Skip to content

Commit bd9c52a

Browse files
committed
chore: publish scripte refactor
1 parent 38d9c47 commit bd9c52a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

publish.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ module.exports = async function run(registryUrl = registry) {
5959

6060
try {
6161
shell.exec("yarn install");
62+
shell.exec("yarn test:only");
6263
shell.exec("npx lerna link");
6364
shell.exec("yarn build:packages");
6465
} catch (error) {
@@ -82,7 +83,7 @@ module.exports = async function run(registryUrl = registry) {
8283
packageJson.set("scripts.prepublish", "");
8384
packageJson.set("scripts.prebuild", "");
8485
packageJson.set("version", `${version}-nightly.${fullVersion}`);
85-
packageJson.set("publishConfig.registry", registryUrl);
86+
// packageJson.set("publishConfig.registry", registryUrl);
8687

8788
if (newdepList[pkg]) {
8889
packageJson.set("dependencies", {

0 commit comments

Comments
 (0)