Skip to content

chore: bump version to 0.3.2 (patch — issue #17 jobId fix) #4

chore: bump version to 0.3.2 (patch — issue #17 jobId fix)

chore: bump version to 0.3.2 (patch — issue #17 jobId fix) #4

Workflow file for this run

name: Publish to npm
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
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: Install root deps
run: npm install
- name: Install mcp deps
run: npm install
working-directory: mcp
- name: Run tests
run: node --test test/*.test.js
- name: Publish jd-intel (library + CLI)
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish jd-intel-mcp (MCP server)
run: npm publish --access public
working-directory: mcp
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}