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:
Gaëtan Maisse 2021-02-01 21:13:55 +01:00
parent f1c093ace1
commit f1f8269c7c
No known key found for this signature in database
GPG Key ID: D934C0EF3714A8A8

View File

@ -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);