Skip to content

[OASIS-3799] Adding test-ci to prepublish hoook #198

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 7, 2018

Conversation

caitlinrubin-optimizely
Copy link
Contributor

Summary

  • @mjc1283 suggested adding test-ci into the prepublish hook, so I've swapped it out for test-xbrowser there

Test plan

Issues

  • OASIS-3799

@coveralls
Copy link

coveralls commented Dec 4, 2018

Coverage Status

Coverage remained the same at 97.239% when pulling 3feec75 on crubin/pre-publish into 9d249a2 on master.

@@ -13,7 +13,7 @@
"lint": "eslint lib/**",
"cover": "istanbul cover _mocha ./lib/*.tests.js ./lib/**/*.tests.js ./lib/**/**/*tests.js",
"coveralls": "npm run cover -- --report lcovonly && cat ./coverage/lcov.info | coveralls",
"prepublishOnly": "npm run build-browser-umd && npm test && npm run test-xbrowser"
"prepublishOnly": "npm run build-browser-umd && npm test && npm run test-ci"
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of test-ci we should run both test-xbrowser and test-umdbrowser since prepublish happens on your local dev environment and not in CI.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍 done

@mikeproeng37 mikeproeng37 merged commit 599858b into master Dec 7, 2018
@mikeproeng37 mikeproeng37 deleted the crubin/pre-publish branch December 14, 2018 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants