Mobile MCP: let AI agents drive your iOS and Android apps. MCP server for simulators, emulators and real devices. Works with Claude Code, Codex, Cursor and any MCP client.
TypeScript agentandroidandroid-automationappium-alternativeclaude-codecodexcursoremulatoriosios-automationmcpmcp-servermobilemobile-automationmobile-testingreal-devicesimulatorskills
ci: split publish out of build and gate it on e2e_test
gmegidishd57a75a633d3
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex d081dc4..fc4fbbd 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -20,7 +20,6 @@ on:jobs:build:permissions:- id-token: writecontents: readruns-on: ubuntu-latest@@ -43,8 +42,31 @@ jobs:- name: Lintrun: npm run lint+ - name: Build+ run: |+ npm run build++ publish_npm:+ runs-on: ubuntu-latest+ needs: [build, e2e_test]+ if: github.ref_type == 'tag'+ permissions:+ id-token: write+ contents: read++ steps:+ - uses: actions/checkout@v5++ - name: Use Node.js 24+ uses: actions/setup-node@v5+ with:+ node-version: '24'+ registry-url: 'https://registry.npmjs.org'++ - name: Install dependencies+ run: npm ci --ignore-scripts+- name: Update version- if: github.ref_type == 'tag'env:VERSION: ${{ github.ref_name }}run: |@@ -55,12 +77,10 @@ jobs:npm run build- name: Publish- if: github.ref_type == 'tag'run: |npm publish --access public --provenance- name: Publish on github mcp registry- if: github.ref_type == 'tag'env:VERSION: ${{ github.ref_name }}run: |@@ -76,7 +96,7 @@ jobs:# macos runner (arm64) so sharp bundles darwin-arm64 native libs;# the bundle targets macOS Apple Silicon to fit Smithery's 25MB capruns-on: macos-latest- needs: build+ needs: [build, e2e_test]if: github.ref_type == 'tag'permissions:contents: read