Skip to content
Snippets Groups Projects
Unverified Commit 2c4159f9 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Add publishing documentation (#36)

parent 4e3c6487
No related branches found
No related tags found
No related merge requests found
Pipeline #14649 passed
...@@ -18,9 +18,10 @@ test: ...@@ -18,9 +18,10 @@ test:
publish: publish:
stage: publish stage: publish
# only: only:
# refs: refs:
# - publish - publish
- master
script: script:
- sudo npm install --global can-npm-publish - sudo npm install --global can-npm-publish
- yarn config set registry https://registry.npmjs.org/ - yarn config set registry https://registry.npmjs.org/
......
...@@ -20,3 +20,10 @@ yarn install ...@@ -20,3 +20,10 @@ yarn install
* `yarn run test` - Run test for all packages * `yarn run test` - Run test for all packages
* `yarn run clean` - Removes all `node_modules` directories. * `yarn run clean` - Removes all `node_modules` directories.
## Publishing packages to npmjs.com
There is an automatic publishing process initiated for each package if code is pushed
to the `master` branch, if the package isn't set to private in its `package.json` and
the version number in its `package.json` is higher than the version number on npmjs.com.
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