From 194fc43946d9904fdb6c8db0b1e4ff074f369969 Mon Sep 17 00:00:00 2001 From: Tony Casey Date: Mon, 16 Feb 2026 11:18:02 +0000 Subject: [PATCH] ci: add workflow_dispatch and build step to npm-publish Restores the manual "Run workflow" button on GitHub Actions page. Also adds missing `npm run build` step before publish. Co-Authored-By: Claude Opus 4.6 AI-Agent: Claude-Code/2.1.42 AI-Model: claude-opus-4-6 AI-Decision: The npm publish workflow should run 'npm run build' after 'npm ci' but before 'npm publish' to ensure built artifacts are included in the published package. AI-Confidence: high AI-Tags: ci-cd, npm-publish, build-process, github-actions, workflow-dispatch, manual-trigger, build-order AI-Lifecycle: project AI-Memory-Id: c15bde7d AI-Source: llm-enrichment --- .github/workflows/npm-publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 2a4766d3..01ced4fa 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -6,6 +6,7 @@ name: Node.js Package on: release: types: [created] + workflow_dispatch: jobs: build: @@ -28,6 +29,7 @@ jobs: node-version: 20 registry-url: https://registry.npmjs.org/ - run: npm ci + - run: npm run build - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}