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 66
66
export DEPLOY_NPM_USERNAME=$REPO_VATICLE_USERNAME
67
67
export DEPLOY_NPM_PASSWORD=$REPO_VATICLE_PASSWORD
68
68
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/
69
71
bazel run --define version=$(git rev-parse HEAD) //grpc/nodejs:deploy-npm -- snapshot
70
72
dependencies : [build, build-dependency]
71
73
deploy-pip-snapshot :
@@ -115,6 +117,8 @@ release:
115
117
export DEPLOY_NPM_USERNAME=$REPO_NPM_USERNAME
116
118
export DEPLOY_NPM_PASSWORD=$REPO_NPM_PASSWORD
117
119
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/
118
122
bazel run --define version=$(cat VERSION) //grpc/nodejs:deploy-npm -- release
119
123
dependencies : [deploy-github]
120
124
deploy-pip-release :
You can’t perform that action at this time.
0 commit comments