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
security(ci): harden build workflow against injection and supply chain drift (#314)
Gil Megidishf7f469dd8481
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 5a155e8..cba314e 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -37,7 +37,7 @@ jobs:registry-url: 'https://registry.npmjs.org'- name: Install dependencies- run: npm install --ignore-scripts+ run: npm ci --ignore-scripts- name: Auditrun: npm audit --audit-level high --omit dev@@ -47,9 +47,10 @@ jobs:- name: Update versionif: github.ref_type == 'tag'+ env:+ VERSION: ${{ github.ref_name }}run: |- npm version "${{ github.ref_name }}" --no-git-tag-version- npm update+ npm version "$VERSION" --no-git-tag-version- name: Buildrun: |@@ -62,13 +63,15 @@ jobs:- name: Publish on github mcp registryif: github.ref_type == 'tag'+ env:+ VERSION: ${{ github.ref_name }}run: |# get homebrew in patheval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"- brew install mcp-publisher+ brew install [email protected]mcp-publisher login github-oidc# patch version- sed -i "s/{{VERSION}}/${{ github.ref_name }}/g" server.json+ sed -i "s/{{VERSION}}/$VERSION/g" server.jsonmcp-publisher publishmcp-publisher logout