From f719f94b80aa452e00ba690b1897b43a41f57216 Mon Sep 17 00:00:00 2001 From: carrolp Date: Thu, 7 Dec 2023 11:37:56 -0500 Subject: [PATCH] workaround to allow npm publish (#336) --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 630b1d7..ae21ab9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: node_js +dist: focal node_js: - - "16" + - 18 before_install: - echo "$DOCKERHUB_TOKEN" | docker login -u "icdevops" --password-stdin @@ -18,6 +19,10 @@ script: # Perform UA scan on non-PR builds - if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then curl -LJO https://unified-agent.s3.amazonaws.com/wss-unified-agent.jar; java -jar wss-unified-agent.jar -d . || echo "UA Scan Error occurred"; fi +# Use npm v9 for deployments (v10 has problems with authentication with api_key) +before_deploy: + - npm install -g npm@9 + deploy: # Publish npm package with tag "next" on release candidates - provider: npm