File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 6666 export DEPLOY_NPM_USERNAME=$REPO_VATICLE_USERNAME
6767 export DEPLOY_NPM_PASSWORD=$REPO_VATICLE_PASSWORD
6868 export DEPLOY_NPM_EMAIL=$REPO_VATICLE_EMAIL
69+ # Point NPM cache to a temporary directory that is writeable under Bazel sandboxing
70+ sudo npm config -g set cache /tmp/npm-cache/
6971 bazel run --define version=$(git rev-parse HEAD) //grpc/nodejs:deploy-npm -- snapshot
7072 dependencies : [build, build-dependency]
7173 deploy-pip-snapshot :
@@ -115,6 +117,8 @@ release:
115117 export DEPLOY_NPM_USERNAME=$REPO_NPM_USERNAME
116118 export DEPLOY_NPM_PASSWORD=$REPO_NPM_PASSWORD
117119 export DEPLOY_NPM_EMAIL=$REPO_VATICLE_EMAIL
120+ # Point NPM cache to a temporary directory that is writeable under Bazel sandboxing
121+ sudo npm config -g set cache /tmp/npm-cache/
118122 bazel run --define version=$(cat VERSION) //grpc/nodejs:deploy-npm -- release
119123 dependencies : [deploy-github]
120124 deploy-pip-release :
You can’t perform that action at this time.
0 commit comments