Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore(ci): fix publish_all_packages.sh on travis

Andrey Lushnikov01888897b79a
diff --git a/utils/publish_all_packages.sh b/utils/publish_all_packages.sh
index 73e28618d4..053fbf1213 100755
--- a/utils/publish_all_packages.sh
+++ b/utils/publish_all_packages.sh
@@ -73,7 +73,8 @@ elif [[ $1 == "--tip-of-tree" ]]; then
echo "Did not find \$CI env - cannot publish tip-of-tree release not from CI"
exit 1
fi
- npm run clean
+ # We don't do `npm run clean` here since travis deploy will remove node
+ # modules, and our `npm run clean` relies on `rimraf` to be installed.
npm publish . --tag="next"
npm publish packages/playwright-firefox --tag="next"
npm publish packages/playwright-webkit --tag="next"