enable ci
This commit is contained in:
parent
e797a3a141
commit
65d852b9e4
@ -149,13 +149,13 @@ jobs:
|
|||||||
command: |
|
command: |
|
||||||
# This file will exist if a new version was published by
|
# This file will exist if a new version was published by
|
||||||
# our `semantic-release` command in the previous job
|
# our `semantic-release` command in the previous job
|
||||||
if [[ ! -e tmp/updated-version.txt ]]; then
|
if [[ ! -e platform/viewer/success_version.txt ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
# Remove npm config
|
# Remove npm config
|
||||||
rm -f ./.npmrc
|
rm -f ./.npmrc
|
||||||
# Set our version number using vars
|
# Set our version number using vars
|
||||||
export IMAGE_VERSION=$(cat tmp/updated-version.txt)
|
export IMAGE_VERSION=$(cat platform/viewer/success_version.txt)
|
||||||
export IMAGE_VERSION_FULL=v$IMAGE_VERSION.${CIRCLE_BUILD_NUM}
|
export IMAGE_VERSION_FULL=v$IMAGE_VERSION.${CIRCLE_BUILD_NUM}
|
||||||
echo $IMAGE_VERSION
|
echo $IMAGE_VERSION
|
||||||
echo $IMAGE_VERSION_FULL
|
echo $IMAGE_VERSION_FULL
|
||||||
@ -324,6 +324,7 @@ workflows:
|
|||||||
requires:
|
requires:
|
||||||
- 'E2E: Script Tag'
|
- 'E2E: Script Tag'
|
||||||
- 'E2E: PWA'
|
- 'E2E: PWA'
|
||||||
|
# Update docs.ohif.org
|
||||||
- DOCS_PUBLISH:
|
- DOCS_PUBLISH:
|
||||||
requires:
|
requires:
|
||||||
- 'E2E: Script Tag'
|
- 'E2E: Script Tag'
|
||||||
@ -332,12 +333,11 @@ workflows:
|
|||||||
requires:
|
requires:
|
||||||
- 'E2E: Script Tag'
|
- 'E2E: Script Tag'
|
||||||
- 'E2E: PWA'
|
- 'E2E: PWA'
|
||||||
|
# Update viewer.ohif.org
|
||||||
- VIEWER_DEMO_PUBLISH:
|
- VIEWER_DEMO_PUBLISH:
|
||||||
requires:
|
requires:
|
||||||
- VIEWER_DEMO_BUILD
|
- VIEWER_DEMO_BUILD
|
||||||
# Update hub.docker.org
|
# Update hub.docker.org
|
||||||
# - DOCKER_PUBLISH:
|
- DOCKER_PUBLISH:
|
||||||
# requires:
|
requires:
|
||||||
# - NPM_PUBLISH
|
- NPM_PUBLISH
|
||||||
# Update viewer.ohif.org
|
|
||||||
# Update docs.ohif.org
|
|
||||||
|
|||||||
@ -33,7 +33,8 @@
|
|||||||
"test:e2e:serve": "serve -l 3000 -s dist",
|
"test:e2e:serve": "serve -l 3000 -s dist",
|
||||||
"test:unit": "jest --watchAll",
|
"test:unit": "jest --watchAll",
|
||||||
"test:unit:ci": "jest --ci --runInBand --collectCoverage",
|
"test:unit:ci": "jest --ci --runInBand --collectCoverage",
|
||||||
"prepublishOnly": "yarn run build:package"
|
"prepublishOnly": "yarn run build:package",
|
||||||
|
"postpublish": "node -p -e \"require('./package.json').version\" > success_version.txt"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user