Skip to content
Permalink
Browse files

build(Cloudbuild): Added cloud build to test pull requests.

  • Loading branch information
itmayziii committed Jun 27, 2019
1 parent 0588a50 commit 2896fd71d063d299a97090015d9a77461b71b636
Showing with 8 additions and 1 deletion.
  1. +6 −0 cloudbuild.yaml
  2. +2 −1 package.json
@@ -0,0 +1,6 @@
steps:
- name: node
args: ['npm', 'install']

- name: node
args: ['npm', 'run', 'test']
@@ -10,7 +10,8 @@
"test": "npm run build && npx nyc jasmine --config=jasmine.json",
"lint": "npx tslint --project tsconfig.json --config tslint.json",
"lint:fix": "npx tslint --fix --project tsconfig.json --config tslint.json",
"commit": "npx git-cz"
"commit": "npx git-cz",
"cloud-build": "gcloud config set project gatsby-plugin-no-javascript && gcloud builds submit"
},
"repository": {
"type": "git",

0 comments on commit 2896fd7

Please sign in to comment.
You can’t perform that action at this time.