Skip to content

Merge branch 'main' of https://github.com/landing-ai/vision-agent-mcp #8

Merge branch 'main' of https://github.com/landing-ai/vision-agent-mcp

Merge branch 'main' of https://github.com/landing-ai/vision-agent-mcp #8

Workflow file for this run

name: CI/CD
on:
push:
branches: [main]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Configure git
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
- name: Patch version
run: npm version patch
- name: Push changes
run: git push --follow-tags
- name: Publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}