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): different attempt to publish on Travis

Andrey Lushnikov019eaa447041
diff --git a/.travis.yml b/.travis.yml
index 2ecad7472f..8c87c51c76 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -43,6 +43,7 @@ before_deploy:
- node utils/apply_next_version.js
deploy:
+ skip_cleanup: true
provider: script
script: utils/publish_all_packages.sh --tip-of-tree
on:
diff --git a/utils/publish_all_packages.sh b/utils/publish_all_packages.sh
index 053fbf1213..73e28618d4 100755
--- a/utils/publish_all_packages.sh
+++ b/utils/publish_all_packages.sh
@@ -73,8 +73,7 @@ elif [[ $1 == "--tip-of-tree" ]]; then
echo "Did not find \$CI env - cannot publish tip-of-tree release not from CI"
exit 1
fi
- # 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 run clean
npm publish . --tag="next"
npm publish packages/playwright-firefox --tag="next"
npm publish packages/playwright-webkit --tag="next"