Skip to content

docs: AI discoverability audit — examples, CONTRIBUTING, metadata fixes #58

docs: AI discoverability audit — examples, CONTRIBUTING, metadata fixes

docs: AI discoverability audit — examples, CONTRIBUTING, metadata fixes #58

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
cache: npm
- run: npm ci --ignore-scripts
- run: npm run typecheck
- run: npm test -- --exclude 'test/e2e/l402-mcp-flow.integration.test.ts'
release:
needs: test
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
- uses: actions/setup-node@v6
with:
node-version: 24
cache: npm
registry-url: https://registry.npmjs.org
- name: Upgrade npm for trusted publishing support
run: npm install -g npm@latest
- run: npm ci --ignore-scripts
- run: npm run build
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_PROVENANCE: true
deploy:
needs: release
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- name: Deploy satgate to satgate.trotters.dev
uses: appleboy/ssh-action@v1
with:
host: 95.217.39.110
username: deploy
key: ${{ secrets.DEPLOY_SSH_KEY }}
script: /opt/satgate/deploy.sh