Skip to content

Fix npm publish package paths#148

Merged
alphaqiu merged 1 commit into
masterfrom
develop
Jun 1, 2026
Merged

Fix npm publish package paths#148
alphaqiu merged 1 commit into
masterfrom
develop

Conversation

@alphaqiu

@alphaqiu alphaqiu commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • publish npm packages using explicit local paths: ./npm/ok-darwin-arm64, ./npm/ok-darwin-x64, ./npm/ok
  • prevents npm from interpreting npm/ok-darwin-arm64 as a git package spec

Root cause

Release #3 failed because npm publish was invoked with npm/ok-darwin-arm64 without ./, so npm attempted git ls-remote ssh://git@github.com/npm/ok-darwin-arm64.git and failed with Permission denied (publickey). This is not an NPM_TOKEN issue.

Verification

  • ruby YAML parse for .github/workflows/release.yml
  • git diff --check
  • rg -n 'npm publish' .github/workflows/release.yml

@alphaqiu alphaqiu merged commit eced4d4 into master Jun 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant