mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-15 05:02:24 +08:00
chore: do not recompile packages before publishing with run-registry
script
It will: - ensure that the outputs of the build step are really used - speed up the publish step on CI a lot
This commit is contained in:
parent
f1c093ace1
commit
f1f8269c7c
@ -108,7 +108,7 @@ const publish = (packages: { name: string; location: string }[], url: string) =>
|
||||
() =>
|
||||
new Promise((res, rej) => {
|
||||
logger.log(`🛫 publishing ${name} (${location})`);
|
||||
const command = `cd ${location} && npm publish --registry ${url} --force --access restricted`;
|
||||
const command = `cd ${location} && npm publish --registry ${url} --force --access restricted --ignore-scripts`;
|
||||
exec(command, (e) => {
|
||||
if (e) {
|
||||
rej(e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user