Skip to content

Commit 0ca8acd

Browse files
author
Ganeshwara Hananda
committed
Add deploy-npm-release
1 parent ae9cb7a commit 0ca8acd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.grabl/automation.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,15 @@ release:
7979
export DEPLOY_MAVEN_PASSWORD=$REPO_GRAKN_PASSWORD
8080
bazel run --define version=$(cat VERSION) //grpc/java:deploy-maven -- release
8181
dependencies: [deploy-github]
82+
deploy-npm-release:
83+
machine: graknlabs-ubuntu-20.04
84+
script: |
85+
curl https://cli-assets.heroku.com/apt/release.key | sudo apt-key add -
86+
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
87+
sudo apt update -y
88+
sudo apt install -y expect
89+
export DEPLOY_NPM_USERNAME=$REPO_NPM_USERNAME
90+
export DEPLOY_NPM_PASSWORD=$REPO_NPM_PASSWORD
91+
export DEPLOY_NPM_EMAIL=$REPO_GRAKN_EMAIL
92+
bazel run --define version=$(cat VERSION) //grpc/nodejs:deploy-npm -- release
93+
dependencies: [deploy-github]

0 commit comments

Comments
 (0)