redocly-cli icon indicating copy to clipboard operation
redocly-cli copied to clipboard

Validate 'redocly/cli` package before publishing to npm and workflows

Open SmoliyY opened this issue 2 years ago • 1 comments

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

SmoliyY avatar Jun 15 '22 07:06 SmoliyY

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.

tatomyr avatar Aug 04 '22 12:08 tatomyr