redocly-cli
redocly-cli copied to clipboard
Validate 'redocly/cli` package before publishing to npm and workflows
Description
redocly/cli
release 1.0.0-beta101
was failed due to publishing code that use package that do not exist in packages/cli/package.json
, but instead this package exist in root package.json
. Also we need to add test to check workflows
functionality
Solution
- Add check (e.g eslint rule) that would check if package exist in
packages/cli/package.json
- Add test that would build same packages that published to
npm
- Add more tests for
workflows
functionality
Turns out npm pack
from here doesn't include the corresponding openapi-core
what leads to inconsistency in this test. I'm reopening this issue as I had to comment out this job and this should be fixed.