Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

BREAKING CHANGE: Major version bump to v5.0.0 #4

BREAKING CHANGE: Major version bump to v5.0.0

BREAKING CHANGE: Major version bump to v5.0.0 #4

Workflow file for this run

name: publish
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Type check
run: npm run typecheck
- name: Run linter
run: npm run lint
- name: Run tests
run: npm test -- --run
- name: Build
run: npm run build
publish:
needs: test
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- 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: Publish to npm
run: |
echo "Publishing @frugally3683/agent-loop-plugin@$(node -p "require('./package.json').version")"
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}