ci: run release-ui in release pipeline

This commit is contained in:
Shantur Rathore
2026-01-22 17:29:49 +00:00
parent dfd397803f
commit c01846f7fd
2 changed files with 15 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
name: Release UI
on:
push:
branches:
- main
workflow_call: {}
workflow_dispatch: {}
permissions:
@@ -12,7 +12,8 @@ env:
jobs:
release-ui:
if: ${{ github.ref == 'refs/heads/main' }}
# Automated via reusable call (main releases); manual runs allowed on dev.
if: ${{ github.event_name == 'workflow_call' || github.ref == 'refs/heads/dev' }}
runs-on: ubuntu-24.04
steps:
- name: Checkout
@@ -27,6 +28,9 @@ jobs:
- name: Install dependencies
run: npm ci --workspaces --include=optional
- name: Ensure rollup native binary
run: npm install @rollup/rollup-linux-x64-gnu --no-save
- name: Install Cloudflare worker deps
run: npm ci
working-directory: packages/cloudflare

View File

@@ -69,6 +69,13 @@ jobs:
release_name: ${{ needs.prepare-release.outputs.release_name }}
secrets: inherit
release-ui:
needs: prepare-release
permissions:
contents: read
uses: ./.github/workflows/release-ui.yml
secrets: inherit
publish-server:
needs:
- prepare-release