Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# GitHub Copilot setup steps for the Storybook MCP repository
# This file defines the steps to prepare the repository environment for AI development
# See: https://docs.github.com/en/enterprise-cloud@latest/copilot/how-tos/use-copilot-agents/coding-agent/customize-the-agent-environment

name: Setup Storybook MCP Development Environment

steps:
- name: Install pnpm
run: |
# Install pnpm package manager (required by this monorepo)
npm install -g pnpm@10.19.0

- name: Install dependencies
run: |
# Install all dependencies for the monorepo with frozen lockfile
pnpm install --frozen-lockfile --prefer-offline --ignore-scripts
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot can't you use the "Setup Node.js" custom action we have in this repo?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good suggestion! Updated in 864479a to use the existing .github/actions/setup-node-and-install composite action instead of manually installing pnpm and dependencies. This makes it more maintainable and consistent with the CI workflows.


- name: Build packages
run: |
# Build all packages in the monorepo
# This is required before running tests, linting, or typechecking
pnpm turbo run build