Skip to content

Instantly share code, notes, and snippets.

@tennisonchan
Last active March 30, 2020 00:55
Show Gist options
  • Save tennisonchan/91b70ea398c8fcf32218aa8da25a50ab to your computer and use it in GitHub Desktop.
Save tennisonchan/91b70ea398c8fcf32218aa8da25a50ab to your computer and use it in GitHub Desktop.
GCR cloud build
steps:
# npm install
- name: 'gcr.io/cloud-builders/npm'
args: ['install']
# run unit tests
- name: 'gcr.io/cloud-builders/npm'
args: ['run', 'test:unit']
# run build
- name: 'gcr.io/cloud-builders/npm'
args: ['run', 'build']
# run deploy
- name: 'gcr.io/cloud-builders/npm'
args: ['run', 'deploy']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment