build: use npm@8.10.0 to publish packages (#6520)

This commit is contained in:
pooya parsa 2022-08-11 14:27:40 +02:00 committed by GitHub
parent 4f9337adcc
commit 0cd4349b0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -24,6 +24,6 @@ fi
for p in packages/* ; do for p in packages/* ; do
pushd $p pushd $p
echo "Publishing $p" echo "Publishing $p"
yarn npm publish --access public --tolerate-republish npx npm@8.10.0 publish --access public --tolerate-republish
popd popd
done done

View File

@ -16,6 +16,6 @@ for PKG in packages/* ; do
TAG="rc" TAG="rc"
fi fi
echo "⚡ Publishing $PKG with tag $TAG" echo "⚡ Publishing $PKG with tag $TAG"
npm publish --tag $TAG --access public --tolerate-republish npx npm@8.10.0 publish --tag $TAG --access public --tolerate-republish
popd > /dev/null popd > /dev/null
done done