Closed zefir-git closed 2 weeks ago
@coderabbitai full review
The changes in the CI workflow configuration file enhance the build and publish jobs by introducing new steps. In the build
job, steps for packing the package and uploading the artifact are added. The publish
job is updated to include steps for setting up the environment, downloading the package artifact, setting the version, and publishing the package to NPM, all within a specified working directory.
File Path | Change Summary |
---|---|
.github/workflows/ci.yml | Added steps in the build job for packaging and uploading the package artifact. Updated the publish job to include environment setup, artifact download, versioning, and publishing steps. |
sequenceDiagram
participant CI as CI Workflow
participant Build as Build Job
participant Publish as Publish Job
participant NPM as NPM Registry
CI->>Build: Start Build Job
Build->>Build: Run npm pack
Build->>Build: Upload artifact (cldn-components-0.0.0-dev.tgz)
Build-->>CI: Complete Build Job
CI->>Publish: Start Publish Job
Publish->>Publish: Setup Node.js and NPM
Publish->>Publish: Download artifact (cldn-components-0.0.0-dev.tgz)
Publish->>Publish: Set version from release tag
Publish->>NPM: Publish package
Publish-->>CI: Complete Publish Job
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Creates a package (
npm pack
) with the necessary files for publishing, which is then downloaded in the release CI for publishing to the registry.Summary by CodeRabbit