Skip to content

ci: fix OIDC publish — drop registry-url placeholder token, release a… #20

ci: fix OIDC publish — drop registry-url placeholder token, release a…

ci: fix OIDC publish — drop registry-url placeholder token, release a… #20

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
- name: Verify version consistency
run: |
PKG_VERSION=$(node -p "require('./package.json').version")
PLUGIN_VERSION=$(node -p "require('./.claude-plugin/plugin.json').version")
if [ "$PKG_VERSION" != "$PLUGIN_VERSION" ]; then
echo "::error::Version mismatch: package.json=$PKG_VERSION, plugin.json=$PLUGIN_VERSION"
exit 1
fi
- run: npm ci
- run: npm run build
- run: npm test