From 41a7e7db8d7a1a79c16b33c5da952da187d8387f Mon Sep 17 00:00:00 2001 From: Michael Kuckuk <8076094+LBBO@users.noreply.github.com> Date: Tue, 29 Nov 2022 18:09:29 +0100 Subject: [PATCH] Cherrypick changes from #331 This is a desperate and experimental attempt to fix the pipeline, since it works for that branch --- .travis.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index c80a6cad..ff531cc9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ language: node_js +os: linux node_js: - '14' @@ -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