Skip to content

feat: Arc Browser MCP Server (hybrid AppleScript + CDP) #146

feat: Arc Browser MCP Server (hybrid AppleScript + CDP)

feat: Arc Browser MCP Server (hybrid AppleScript + CDP) #146

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run linting
run: pnpm lint
- name: Run tests with coverage
run: pnpm test:cov
- name: Build all packages
run: pnpm build
- name: Upload coverage reports
uses: codecov/codecov-action@v4
if: always()
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./packages/*/coverage/coverage-final.json
fail_ci_if_error: false
publish:
needs: test
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
permissions:
contents: read
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build packages
run: pnpm build
- name: Install latest npm
run: npm install -g npm@latest
- name: Publish packages
run: |
for pkg in packages/*/; do
echo "Publishing $pkg..."
cd "$pkg"
npm publish --access public --provenance || echo "Skipped $pkg (already published or error)"
cd ../..
done