Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.

Add client deployment script and update README#19

Open
Alaanzr wants to merge 4 commits into
masterfrom
add-uglify-script
Open

Add client deployment script and update README#19
Alaanzr wants to merge 4 commits into
masterfrom
add-uglify-script

Conversation

@Alaanzr

@Alaanzr Alaanzr commented Dec 7, 2018

Copy link
Copy Markdown

No description provided.

Comment thread .circleci/config.yml Outdated
command: echo "//registry.npmjs.org/:_authToken=$PRIVATE_NPM_TOKEN" > ~/.npmrc
- run:
name: Publish to NPM
command: npm publish

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the publish need to happen from the client-build dir? Then I think it needs to be cd client-build && npm publish

Comment thread .circleci/config.yml Outdated
- publish_client_version_to_npm:
context: org-global
requires:
- generate_client_version

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be good to add - publish_to_npm as a requirement, so that a client version is only published for a successfully published normal version.

Plus we should also test the client version. So there should also be a job test_client_version (I guess we can just reuse the tests of the normal version?). And publish_to_npm should depend on both test and test_client_version (so we also don't push a "normal" version when we're not sure the client version also works).

@Alaanzr
Alaanzr force-pushed the add-uglify-script branch 3 times, most recently from 4175d4a to d3db687 Compare December 7, 2018 18:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants