Commit 4ae4c89d authored by Shinya Maeda's avatar Shinya Maeda

Merge branch 'master' into 'master'

Update npm.gitlab-ci.yml to make CI job fail on error.

See merge request gitlab-org/gitlab!38984
parents 0cb88bc2 092aec66
...@@ -55,5 +55,5 @@ publish_package: ...@@ -55,5 +55,5 @@ publish_package:
npm publish && npm publish &&
echo "Successfully published version ${NPM_PACKAGE_VERSION} of ${NPM_PACKAGE_NAME} to GitLab's NPM registry: ${CI_PROJECT_URL}/-/packages" echo "Successfully published version ${NPM_PACKAGE_VERSION} of ${NPM_PACKAGE_NAME} to GitLab's NPM registry: ${CI_PROJECT_URL}/-/packages"
} || { } || {
echo "No new version of ${NPM_PACKAGE_NAME} published. This is most likely because version ${NPM_PACKAGE_VERSION} already exists in GitLab's NPM registry." echo "No new version of ${NPM_PACKAGE_NAME} published. This is most likely because version ${NPM_PACKAGE_VERSION} already exists in GitLab's NPM registry."; exit 1
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment