Skip to content

Commit b8e2df2

Browse files
committed
build(ci): migrated to cloudbuild
Signed-off-by: Vojtech Mašek <[email protected]>
1 parent 93440f2 commit b8e2df2

File tree

5 files changed

+12
-29
lines changed

5 files changed

+12
-29
lines changed

.drone.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ node_modules/
22
output*/
33
src/*
44
tests/
5-
.drone.yml
5+
cloudbuild.yml
66
.gitignore
77
.idea
88
CODE_OF_CONDUCT.md

cloudbuild.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
steps:
2+
- id: build
3+
name: gcr.io/cloud-builders/npm:current
4+
entrypoint: '/bin/bash'
5+
args:
6+
- '-c'
7+
- 'npm run ci:install && npm run lint && npm run tests && npm run build'
8+
waitFor: ['-']

package-lock.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
"intg-tests:clear-gen": "rimraf tests/test-angular-project/src/api-no-tags && rimraf tests/test-angular-project/src/api-all-tags",
6262
"intg-tests": "npm run intg-tests:gen-all-tags && npm run intg-tests:gen-no-tag && cd tests/test-angular-project && npm run test && cd ../.. && npm run intg-tests:clear-gen",
6363
"tests": "npm run test && npm run intg-tests",
64+
"ci:install": "npm ci --silent && cd tests/test-angular-project && npm ci --silent",
6465
"postinstall": "cd tests/test-angular-project && npm i"
6566
},
6667
"dependencies": {

0 commit comments

Comments
 (0)