Skip to content

Commit d88341a

Browse files
Rename workflow
1 parent 00034f2 commit d88341a

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/release-ui.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Release UI (GitHub Packages)"
1+
name: "Release UI"
22

33
on:
44
workflow_dispatch:
@@ -7,6 +7,9 @@ on:
77
description: "UI tag to release (e.g., ui-v1.0.0)"
88
required: true
99
type: string
10+
push:
11+
tags:
12+
- "ui-v*"
1013

1114
permissions:
1215
contents: write
@@ -68,12 +71,12 @@ jobs:
6871
cache: "npm"
6972
cache-dependency-path: client/webui/frontend/package-lock.json
7073
registry-url: https://npm.pkg.github.com/
71-
scope: "@SolaceDev"
74+
scope: "@SolaceLabs"
7275

7376
- name: Configure npm for install and publish
7477
run: |
7578
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > .npmrc
76-
echo "@SolaceDev:registry=https://npm.pkg.github.com/" >> .npmrc
79+
echo "@SolaceLabs:registry=https://npm.pkg.github.com/" >> .npmrc
7780
echo "legacy-peer-deps=true" >> .npmrc
7881
7982
- name: Install dependencies
@@ -98,12 +101,11 @@ jobs:
98101

99102
- name: Update package.json for publishing
100103
run: |
101-
# Update the package name to include the SolaceDev scope for publishing
102104
node -e "
103105
const pkg = require('./package.json');
104-
pkg.name = '@SolaceDev/solace-agent-mesh-ui';
106+
pkg.name = '@SolaceLabs/solace-agent-mesh-ui';
105107
pkg.publishConfig = {
106-
registry: 'https://npm.pkg.github.com/SolaceDev'
108+
registry: 'https://npm.pkg.github.com/SolaceLabs'
107109
};
108110
require('fs').writeFileSync('./package.json', JSON.stringify(pkg, null, 2));
109111
"

0 commit comments

Comments
 (0)