File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish Package Previews
2+
3+ on :
4+ pull_request_review :
5+ types : [submitted]
6+ pull_request :
7+ types : [opened, synchronize]
8+
9+ permissions :
10+ contents : read
11+ pull-requests : write
12+
13+ jobs :
14+ # Publish on all PRs (for testing/development)
15+ publish-pr :
16+ if : github.event_name == 'pull_request'
17+ runs-on : ubuntu-latest
18+ steps :
19+ - uses : actions/checkout@v4
20+
21+ - name : Use Node.js 20
22+ uses : actions/setup-node@v4
23+ with :
24+ node-version : 20
25+ cache : ' npm'
26+
27+ - name : Install dependencies
28+ run : npm ci
29+
30+ - name : Build
31+ run : npm run build
32+
33+ - name : Publish to pkg.pr.new
34+ run : npx pkg-pr-new publish --comment=update
35+
36+ # Publish on approved PRs (recommended pattern)
37+ publish-approved :
38+ if : github.event_name == 'pull_request_review' && github.event.review.state == 'approved'
39+ runs-on : ubuntu-latest
40+ steps :
41+ - uses : actions/checkout@v4
42+
43+ - name : Use Node.js 20
44+ uses : actions/setup-node@v4
45+ with :
46+ node-version : 20
47+ cache : ' npm'
48+
49+ - name : Install dependencies
50+ run : npm ci
51+
52+ - name : Build
53+ run : npm run build
54+
55+ - name : Publish to pkg.pr.new (Approved)
56+ run : npx pkg-pr-new publish --comment=create
Original file line number Diff line number Diff line change 22
33A Model Context Protocol (MCP) server that provides Xcode-related tools for integration with AI assistants and other MCP clients.
44
5- [ ![ npm version] ( https://badge.fury.io/js/xcodebuildmcp.svg )] ( https://badge.fury.io/js/xcodebuildmcp ) [ ![ CI] ( https://github.com/cameroncooke/XcodeBuildMCP/actions/workflows/ci.yml/badge.svg )] ( https://github.com/cameroncooke/XcodeBuildMCP/actions/workflows/ci.yml ) [ ![ CodeQL] ( https://github.com/cameroncooke/XcodeBuildMCP/actions/workflows/github-code-scanning/codeql/badge.svg )] ( https://github.com/cameroncooke/XcodeBuildMCP/actions/workflows/github-code-scanning/codeql )
5+ [ ![ npm version] ( https://badge.fury.io/js/xcodebuildmcp.svg )] ( https://badge.fury.io/js/xcodebuildmcp ) [ ![ CI] ( https://github.com/cameroncooke/XcodeBuildMCP/actions/workflows/ci.yml/badge.svg )] ( https://github.com/cameroncooke/XcodeBuildMCP/actions/workflows/ci.yml ) [ ![ CodeQL] ( https://github.com/cameroncooke/XcodeBuildMCP/actions/workflows/github-code-scanning/codeql/badge.svg )] ( https://github.com/cameroncooke/XcodeBuildMCP/actions/workflows/github-code-scanning/codeql ) [ ![ pkg.pr.new ] ( https://pkg.pr.new/badge/cameroncooke/XcodeBuildMCP )] ( https://pkg.pr.new/~/cameroncooke/XcodeBuildMCP )
66[ ![ Licence: MIT] ( https://img.shields.io/badge/License-MIT-yellow.svg )] ( https://opensource.org/licenses/MIT )
77[ ![ Verified on MseeP] ( https://mseep.ai/badge.svg )] ( https://mseep.ai/app/e0f4ab6d-e867-4c6e-90cd-77363faaafcc )
88
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments