Skip to content

Commit 81e3bc6

Browse files
committed
fix: Address RP package & shrinkwrap versions update
1 parent bf4e402 commit 81e3bc6

File tree

2 files changed

+40
-3
lines changed

2 files changed

+40
-3
lines changed

.github/workflows/release-please.yml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ jobs:
3232
if: needs.release-please.outputs.releases_created == 'true'
3333
strategy:
3434
matrix:
35-
package: [logger, fs, builder, server, project, cli]
35+
package: [logger, fs, builder, server, project]
3636
steps:
3737
- uses: actions/checkout@v5
3838

3939
- name: Node.js LTS
4040
uses: actions/setup-node@v5
4141
with:
42-
node-version: 24.x
42+
node-version: 24.x
4343

4444
- name: Install and publish ${{ matrix.package }}
4545
run: |
@@ -49,3 +49,30 @@ jobs:
4949
# TODO: Uncomment when ready to publish
5050
# npm ci
5151
# npm publish --access public
52+
53+
publish-cli:
54+
runs-on: ubuntu-24.04
55+
needs: [release-please, publish-packages]
56+
if: needs.release-please.outputs.releases_created == 'true'
57+
steps:
58+
- uses: actions/checkout@v5
59+
60+
- name: Node.js LTS
61+
uses: actions/setup-node@v5
62+
with:
63+
node-version: 24.x
64+
65+
- name: Update CLI shrinkwrap and publish
66+
run: |
67+
cd packages/cli
68+
echo "🔄 Updating npm-shrinkwrap.json for CLI"
69+
70+
rm -f npm-shrinkwrap.json
71+
npm install --package-lock-only
72+
npm shrinkwrap
73+
74+
echo "🚀 Publishing @ui5/cli"
75+
76+
# TODO: Uncomment when ready to publish
77+
# npm ci
78+
# npm publish --access public

release-please-config.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"include-component-in-tag": false,
4+
"group-pull-request-title-pattern": "release: UI5 CLI packages",
35
"packages": {
46
"packages/logger": {
57
"component": "logger"
@@ -17,13 +19,21 @@
1719
"component": "project"
1820
},
1921
"packages/cli": {
20-
"component": "cli"
22+
"component": "cli",
23+
"extra-files": [
24+
"npm-shrinkwrap.json"
25+
]
2126
}
2227
},
2328
"release-type": "node",
2429
"always-update": true,
2530
"pull-request-header": ":tractor: New release prepared",
2631
"pull-request-title-pattern": "release: UI5 CLI packages",
32+
"plugins": [
33+
{
34+
"type": "node-workspace"
35+
}
36+
],
2737
"changelog-sections": [
2838
{
2939
"type": "feat",

0 commit comments

Comments
 (0)