Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

ci(js-sdk): pass the tarball to npm publish as a relative path (#5577)

capy-ai[bot]ec3b55bc9637
diff --git a/.github/workflows/publish-js-sdk.yml b/.github/workflows/publish-js-sdk.yml
index 13076b4c4..41bacd0ac 100644
--- a/.github/workflows/publish-js-sdk.yml
+++ b/.github/workflows/publish-js-sdk.yml
@@ -126,7 +126,7 @@ jobs:
VERSION: ${{ needs.build.outputs.version }}
run: |
for name in firecrawl @mendable/firecrawl-js @mendable/firecrawl; do
- file="dist/$(echo "$name" | sed 's#^@##; s#/#-#')-$VERSION.tgz"
+ file="./dist/$(echo "$name" | sed 's#^@##; s#/#-#')-$VERSION.tgz"
if [ "$(npm view "$name@$VERSION" version 2>/dev/null)" = "$VERSION" ]; then
echo "$name@$VERSION is already on npm; skipping"
continue