Skip to content

feat(storybook): expose component docs to agents via official MCP addon (#3527) #303

feat(storybook): expose component docs to agents via official MCP addon (#3527)

feat(storybook): expose component docs to agents via official MCP addon (#3527) #303

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
name: Runtime Host owner platforms
on:
pull_request:
branches: [main]
paths:
- '.github/workflows/runtime-host-owner-platform.yml'
- 'package.json'
- 'package-lock.json'
- 'packages/storage/src/process-lifetime-file-update-lock.ts'
- 'packages/runtime-host/src/operator/local-deployment-owner.ts'
- 'packages/runtime-host/src/operator/update-package-evidence.ts'
- 'packages/runtime-host/src/__tests__/local-deployment-owner.test.ts'
- 'packages/runtime-host/src/__tests__/fixtures/local-deployment-owner-claim.ts'
- 'packages/runtime-host/tsconfig.owner-platform.json'
workflow_dispatch:
concurrency:
group: runtime-host-owner-platform-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs:
owner:
name: owner (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 45
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: '24'
cache: npm
- name: Install dependencies
run: npm ci
- name: Build Runtime Host test dependencies
run: |
npm --workspace @maka/core run build
npm --workspace @maka/storage run build
npm exec -- tsc --project packages/runtime-host/tsconfig.owner-platform.json
- name: Test local deployment owner
run: node --test packages/runtime-host/.owner-platform-dist/__tests__/local-deployment-owner.test.js