Skip to content

Commit 53e979f

Browse files
PaulDuvallclaude
andcommitted
fix: correct NPM publish workflow directory and error handling
- Change to claude-dev-toolkit directory before publishing - Remove continue-on-error to properly report failures - Fixes ENOENT package.json error in GitHub Actions - Ensures workflow fails appropriately when NPM publish fails 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f834e81 commit 53e979f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/npm-publish-simple.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,6 @@ jobs:
3030
echo "::add-mask::${{ inputs.npm_token }}"
3131
3232
- name: Publish
33-
run: npm publish --access public
34-
continue-on-error: true # Don't fail if package doesn't exist
33+
run: |
34+
cd claude-dev-toolkit
35+
npm publish --access public

0 commit comments

Comments
 (0)