Skip to content

Commit

Permalink
workaround to allow npm publish (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
carrolp authored Dec 7, 2023
1 parent 96857ed commit f719f94
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
language: node_js
dist: focal
node_js:
- "16"
- 18

before_install:
- echo "$DOCKERHUB_TOKEN" | docker login -u "icdevops" --password-stdin
Expand All @@ -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
Expand Down

0 comments on commit f719f94

Please sign in to comment.