Improve pipelines and use GitHub releases#15
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the release/publish pipeline to publish the npm workspaces using the git tag name as the version, aligning publishing with tagged releases rather than commits to main.
Changes:
- Switch GitHub Actions publish workflow trigger from
mainpushes to tag pushes and pass tag name asVERSION. - Replace the previous publish script with a version-aware workspace publish script (
.ci/publishNpm.sh). - Add a CI build script to install, build, lint, and run audit/license checks.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| .github/workflows/publish.yml | Triggers publishing on tags and passes tag name into the publish script. |
| .ci/publishNpm.sh | Sets workspace versions based on VERSION, adjusts dependency versions, and publishes workspaces. |
| .ci/publish.sh | Removes old publish script. |
| .ci/build.sh | Adds CI build/lint/audit steps prior to publishing. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
cad12f7 to
bad0a1c
Compare
Milena-Czierlinski
left a comment
There was a problem hiding this comment.
When we switched to GH Releases in other repos, there were some more files we adjusted/added, like a PR template, a file with labels, how the release notes should be generated from it and the hardcoded version from the package.json (and lock) must be removed. You can see that e.g. here nmshd/connector-tui#62 + https://github.com/nmshd/connector-tui/pull/63/changes.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 18 out of 19 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
9eccc28 to
8eb28de
Compare
No description provided.