[release / github action]: Update release action to output full versions list
Summary
At the moment, the release github action partially outputs all the package versions which are updated during the release process. This is not enough to be confident with the up and coming versions and checks need to be done locally.
๐ฌ Description
The requirement is to output the full version updates outputted by the lerna command and add it to the release PR summary. e.g.
Changes:
- @ukic/canary-docs: 2.0.0-canary.0 => 2.0.0-canary.1
- @ukic/canary-react: 2.0.0-canary.11 => 2.0.0-canary.12
- @ukic/canary-web-components: 2.0.0-canary.11 => 2.0.0-canary.12
- @ukic/docs: 2.10.1 => 2.10.2
- @ukic/nextjs: 0.2.3 => 0.2.4 (private)
- @ukic/react: 2.17.0 => 2.18.0
- @ukic/web-components: 2.17.0 => 2.18.0
๐ฐ Use value
This will make it easier for the developer to view what version numbers will be published to NPM.
๐ Acceptance Criteria
If relevant, describe in full detail the different interactions and edge cases that the component or patterns needs to fulfil.
Given as a developer running a release
When I triggere the github action and a release PR is created
Then I want to be able to view the version numbers which will be published when the PR is merged in
โ Designs
N/A
โฏ๐งพ Guidance
N/A
Additional info
Line related to update: https://github.com/mi6/ic-ui-kit/blob/main/.github/workflows/ic-ui-kit-release.yml#L22-L23
There may be an issue with formatting once the output from npm run release-check is placed in a variable. Ideally it would be good if the format can stay as bullet points when displayed as the PR summary.