Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# WordPress API configuration
# The standard WordPress REST API endpoint
WORDPRESS_API_URL=https://your-wordpress-site.com
# For authentication using Application Passwords (WordPress 5.6+)
WORDPRESS_USERNAME=your_username
WORDPRESS_PASSWORD=your_app_password
WORDPRESS_SQL_ENDPOINT=/mcp/v1/query
29 changes: 29 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build and Test

on:
pull_request:
types: [opened, synchronize]
paths-ignore:
- '**.md'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install Dependencies
run: npm install

- name: Build Project
run: npm run build

- name: Run Tests
run: npm test
41 changes: 41 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Publish to npm

on:
push:
branches:
- main
paths-ignore:
- '**.md'

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org/'
scope: '@missionsquad'

- name: Install Dependencies
run: npm install

- name: Build Project
run: npm run build

- name: Run Tests
run: npm test

- name: Publish to npm
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.env
node_modules
build
package-lock.json
logs
*.code-workspace
.claude/
252 changes: 0 additions & 252 deletions CLAUDE.md

This file was deleted.

Loading
Loading