FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 3a42e088 authored by Dmitrii Unterov's avatar Dmitrii Unterov
Browse files

feat: build and publish npm artifact

parent c01adbd3
No related branches found
No related tags found
No related merge requests found
Pipeline #723726 canceled
......@@ -206,8 +206,10 @@ build-and-publish-tailwind-npm:
if [ "$CI_COMMIT_BRANCH" == "2-ci-for-npm-registry" ]; then
VERSION=`cat package.json | jq -r .version`
jq ".version = \"${VERSION}-develop\"" package.json > package_temp.json && mv package_temp.json package.json
npm publish --verbose --tag=develop
else
npm publish --verbose
fi
npm publish --verbose
rules:
- if: $CI_COMMIT_BRANCH == "2-ci-for-npm-registry" || $CI_COMMIT_BRANCH == "master"
when: always
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment