[ICU-15647] Replace Rose::Dialog with Hds::Modal in admin ui only (#2… #1237
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Admin UI | |
on: | |
push: | |
branches: | |
- main | |
- "release/**" | |
workflow_dispatch: | |
jobs: | |
dependencies: | |
name: Install dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 | |
id: node-modules-cache | |
with: | |
path: "**/node_modules" | |
key: node-modules-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
node-modules- | |
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: 20 | |
- run: yarn install | |
build-admin-ui-oss: | |
name: Build Admin UI OSS | |
needs: [dependencies] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 | |
id: node-modules-cache | |
with: | |
path: "**/node_modules" | |
key: node-modules-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
node-modules- | |
- name: Build | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: 20 | |
- run: yarn run build:ui:admin:oss | |
- name: Upload artifact admin-ui | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
with: | |
name: admin-ui | |
path: ./ui/admin/dist/ | |
- name: Upload artifact OSS admin UI | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
with: | |
name: admin-ui-oss | |
path: ./ui/admin/dist/ | |
build-admin-ui-enterprise: | |
name: Build Admin UI Enterprise | |
needs: [dependencies] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 | |
id: node-modules-cache | |
with: | |
path: "**/node_modules" | |
key: node-modules-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
node-modules- | |
- name: Build | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: 20 | |
- run: yarn run build:ui:admin:enterprise | |
- name: Upload artifact enterprise admin UI | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
with: | |
name: admin-ui-ent | |
path: ./ui/admin/dist/ | |
build-admin-ui-hcp: | |
name: Build Admin UI HCP | |
needs: [dependencies] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 | |
id: node-modules-cache | |
with: | |
path: "**/node_modules" | |
key: node-modules-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
node-modules- | |
- name: Build | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: 20 | |
- run: yarn run build:ui:admin:hcp | |
- name: Upload artifact HCP admin UI | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
with: | |
name: admin-ui-hcp | |
path: ./ui/admin/dist/ |