Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
ci: use trusted publishing for JS SDK (#4423)
Abimael Martell47f283f89144
diff --git a/.github/workflows/publish-js-sdk.yml b/.github/workflows/publish-js-sdk.ymlindex c0e96fceb..74bbb9863 100644--- a/.github/workflows/publish-js-sdk.yml+++ b/.github/workflows/publish-js-sdk.yml@@ -11,10 +11,14 @@ on:env:TEST_API_KEY: ${{ secrets.TEST_API_KEY }}+permissions:+ contents: read+ id-token: write+jobs:publish:name: Publish- runs-on: blacksmith-2vcpu-ubuntu-2404+ runs-on: ubuntu-lateststeps:- uses: actions/checkout@v5- name: Install pnpm@@ -24,13 +28,9 @@ jobs:- name: Set up Node.jsuses: actions/setup-node@v4with:- node-version: "20"+ node-version: "24"cache: "pnpm"cache-dependency-path: './apps/js-sdk/firecrawl/pnpm-lock.yaml'- - name: Authenticate- run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc- env:- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}- name: Publishrun: |pnpm install