Last active
March 30, 2020 00:55
-
-
Save tennisonchan/91b70ea398c8fcf32218aa8da25a50ab to your computer and use it in GitHub Desktop.
GCR cloud build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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