← Files AgentBrokoARCHIVED FILE
.github/workflows/publish.yml
513 Bytes · Sep 30, 2026 · 23:15 UTC
name: Publish to NPM
on:
release:
types: [published]
workflow_dispatch:
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- name: Publish to NPM
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
SHA-256: 6eda2c895f38c5854fcdea17df54a8ba7943977de91c00c6eeabe9c20dfbbe6d