Skip to content

Commit

Permalink
Build with certain script under yourbase
Browse files Browse the repository at this point in the history
  • Loading branch information
aknuds1 committed Sep 14, 2019
1 parent be608de commit c425e4c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .yourbase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build_targets:
- NODE_ENV=development
commands:
- npm install eslint --save-dev
- npm run test-coverage
- ./scripts/build-under-yourbase
ci:
builds:
- name: default
Expand Down
9 changes: 9 additions & 0 deletions scripts/build-under-yourbase
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
export CI_NAME=yourbase
export CI_BUILD_NUMBER="${YB_BUILD_ID}"
export CI_BUILD_URL="https://app.yourbase.io/aknuds1/html-to-react/builds/${YB_BUILD_ID}"
export CI_BRANCH="${YB_GIT_BRANCH}"
# YourBase does not currently support this. Stay tuned.
export CI_PULL_REQUEST=

npm run test-coverage

0 comments on commit c425e4c

Please sign in to comment.