diff --git a/scripts/release-edge.sh b/scripts/release-edge.sh index 95933556e2..9a348beb8b 100755 --- a/scripts/release-edge.sh +++ b/scripts/release-edge.sh @@ -24,6 +24,6 @@ fi for p in packages/* ; do pushd $p echo "Publishing $p" - yarn npm publish --access public --tolerate-republish + npx npm@8.10.0 publish --access public --tolerate-republish popd done diff --git a/scripts/release-rc.sh b/scripts/release-rc.sh index 45040b65d0..c2dffdbd19 100755 --- a/scripts/release-rc.sh +++ b/scripts/release-rc.sh @@ -16,6 +16,6 @@ for PKG in packages/* ; do TAG="rc" fi 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 done