Skip to content

Commit 019eaa4

Browse files
committed
chore(ci): different attempt to publish on Travis
1 parent ec3ee66 commit 019eaa4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ before_deploy:
4343
- node utils/apply_next_version.js
4444

4545
deploy:
46+
skip_cleanup: true
4647
provider: script
4748
script: utils/publish_all_packages.sh --tip-of-tree
4849
on:

utils/publish_all_packages.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ elif [[ $1 == "--tip-of-tree" ]]; then
7373
echo "Did not find \$CI env - cannot publish tip-of-tree release not from CI"
7474
exit 1
7575
fi
76-
# We don't do `npm run clean` here since travis deploy will remove node
77-
# modules, and our `npm run clean` relies on `rimraf` to be installed.
76+
npm run clean
7877
npm publish . --tag="next"
7978
npm publish packages/playwright-firefox --tag="next"
8079
npm publish packages/playwright-webkit --tag="next"

0 commit comments

Comments
 (0)