Google Flights MCP, CLI and Python Library
fix(ci): publish npm tarball via ./-prefixed local path (#182)
Punit Arani44717de04dc7
diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.ymlindex 8e4b5a5..e632c51 100644--- a/.github/workflows/publish-npm.yml+++ b/.github/workflows/publish-npm.yml@@ -169,5 +169,8 @@ jobs:echo "::error::No tarball found in dist-tarball/"exit 1fi- echo "Publishing ${tarball}"- npm publish "${tarball}" --provenance --access public+ # `npm publish <path>` treats a bare one-slash path like+ # `dist-tarball/foo.tgz` as a GitHub owner/repo shorthand and tries to+ # git-clone it. The leading `./` forces npm to treat it as a local tarball.+ echo "Publishing ./${tarball}"+ npm publish "./${tarball}" --provenance --access public