UNPKG

node-kmeans

Version:

Node.js asynchronous implementation of the clustering algorithm k-means

28 lines (24 loc) 486 B
steps: - name: 'gcr.io/cloud-builders/gcloud' args: - kms - decrypt - --ciphertext-file=npmrc.enc - --plaintext-file=/root/.npmrc - --location=global - --keyring=my-keyring - --key=npm-key volumes: - name: 'home' path: /root/ - name: 'gcr.io/cloud-builders/npm' args: ['install'] - name: 'gcr.io/cloud-builders/npm' args: ['test'] - name: 'gcr.io/cloud-builders/npm' args: ['publish'] env: - HOME=/root/ volumes: - name: 'home' path: /root/