npm audit fix for ws package #339
Merged
Travis CI / Travis CI - Branch
succeeded
Jun 20, 2024 in 54s
Build Passed
The build passed. This is a change from the previous build, which errored.
Details
This is a normal build for the npmAuditFix branch. You should be able to reproduce it by checking out the branch locally.
Jobs and Stages
This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.
Build Configuration
Build Option | Setting |
---|---|
Language | Node.js |
Operating System | Linux (Focal) |
Node.js Version | 18 |
Build Configuration
{
"language": "node_js",
"os": [
"linux"
],
"dist": "focal",
"node_js": [
"18"
],
"before_install": [
"echo \"$DOCKERHUB_TOKEN\" | docker login -u \"icdevops\" --password-stdin",
"export WS_APIKEY=${WS_APIKEY}",
"export WS_USERKEY=${WS_USERKEY}",
"export WS_PRODUCTNAME=${WS_PRODUCTNAME}",
"export WS_PROJECTNAME=Kubernetes-util",
"export WS_WSS_URL=https://ibmets.whitesourcesoftware.com/agent"
],
"script": [
"if [ \"${TRAVIS_PULL_REQUEST}\" != \"false\" ]; then npx audit-ci --config audit-ci.json; else npx audit-ci --config audit-ci.json || true; fi",
"npm run lint",
"npm test",
"if [[ \"${TRAVIS_TAG}\" =~ ^[0-9]+\\.[0-9]+\\.[0-9]+(-rc\\.[0-9]+)?$ ]]; then npm version --no-git-tag-version \"${TRAVIS_TAG}\"; fi",
"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"
],
"before_deploy": [
"npm install -g npm@9"
],
"deploy": [
{
"provider": "npm",
"email": "${NPMJS_EMAIL}",
"tag": "next",
"skip_cleanup": true,
"on": {
"tags": true,
"condition": [
"${TRAVIS_TAG} =~ ^[0-9]+\\.[0-9]+\\.[0-9]+(-rc\\.[0-9]+)$"
]
},
"api_token": "${NPMJS_API_KEY}"
},
{
"provider": "npm",
"email": "${NPMJS_EMAIL}",
"skip_cleanup": true,
"on": {
"tags": true,
"condition": [
"${TRAVIS_TAG} =~ ^[0-9]+\\.[0-9]+\\.[0-9]+$"
]
},
"api_token": "${NPMJS_API_KEY}"
}
]
}
Loading