Skip to content

Commit

Permalink
Cherrypick changes from #331
Browse files Browse the repository at this point in the history
This is a desperate and experimental attempt to fix the pipeline,
since it works for that branch
  • Loading branch information
LBBO committed Nov 29, 2022
1 parent 5195d87 commit 41a7e7d
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: node_js
os: linux
node_js:
- '14'

Expand Down Expand Up @@ -33,19 +34,15 @@ script:
# When the Cypress setuisbe verified, this command might be removed.
# - yarn run snapshot
- yarn run cy:run --record --key ${CYPRESS_RECORD_KEY}
# after all tests finish running we need
# to kill all background jobs (like "npm start &")
# this avoids flake in Travis jobs
- kill $(jobs -p) || true

before_deploy:
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc

deploy:
if: branch = master AND tag IS present
provider: script
script: 'yarn run lerna:publish'
skip_cleanup: true
on:
tags: true
condition: $TRAVIS_COMMIT_MESSAGE =~ ^Publish
- provider: script
script: 'yarn run lerna:publish'
cleanup: false
skip_cleanup: true
on:
branch: master
condition: $TRAVIS_COMMIT_MESSAGE =~ ^Publish

0 comments on commit 41a7e7d

Please sign in to comment.