diff --git a/.yourbase.yml b/.yourbase.yml index f55ac6a..d763af7 100644 --- a/.yourbase.yml +++ b/.yourbase.yml @@ -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 diff --git a/scripts/build-under-yourbase b/scripts/build-under-yourbase new file mode 100755 index 0000000..422990e --- /dev/null +++ b/scripts/build-under-yourbase @@ -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