Skip to content

Sync from internal 88c1a7b9 #4

Sync from internal 88c1a7b9

Sync from internal 88c1a7b9 #4

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
validate:
name: Typecheck, Lint & Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22, 24]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci --ignore-scripts
- run: npx tsc --noEmit
- run: npm run lint
- run: npm test
docker:
name: Docker Build
runs-on: ubuntu-latest
needs: validate
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v6
with:
context: .
push: false
tags: bitbucket-mcp-server:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max