Skip to content

chore: add verdaccio publishing tests to CI #276

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 2 commits into from
Mar 24, 2020

Conversation

seebees
Copy link
Contributor

@seebees seebees commented Mar 18, 2020

resolves #123

To validate that everything always works,
running the integration tests directly from npm
will replicate exactly how customers would use this.
It will also verify that all dependencies of the clients
can be satisfied from npm.
Finally, it exercises the publishing process
to make sure that each release could be published automatically.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Check any applicable:

  • Were any files moved? Moving files changes their URL, which breaks all hyperlinks to the files.

@seebees seebees requested a review from a team March 18, 2020 16:25
scottarc
scottarc previously approved these changes Mar 18, 2020
resolves aws#123

To validate that everything always works,
running the integration tests directly from npm
will replicate exactly how customers would use this.
It will also verify that all dependencies of the clients
can be satisfied from npm.
Finally, it exercises the publishing process
to make sure that each release could be published automatically.
@seebees seebees force-pushed the verdaccio-publish-tests branch from bd9fc79 to 47b4a76 Compare March 23, 2020 22:16
Add `--always-spawn` to npx command.
This is **very** important,
without this, npx may mask error codes.
In testing it was possible to have errors in the npx command
but the spawned process here did not exit with a non-zero exit code.
See `execCommand` in `libnpx` for specifics
@seebees seebees merged commit faf684a into aws:master Mar 24, 2020
@seebees seebees deleted the verdaccio-publish-tests branch March 24, 2020 16:27
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.

add Verdaccio publish/integration-test step to CI
2 participants