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
feat(github/ci): improvements
Gergő Móricz1a9f6b985a50
diff --git a/.github/workflows/deploy-image-staging.yml b/.github/workflows/deploy-image-staging.ymlindex e74aba9a7..5856d3a32 100644--- a/.github/workflows/deploy-image-staging.yml+++ b/.github/workflows/deploy-image-staging.yml@@ -4,9 +4,6 @@ env:DOTNET_VERSION: '6.0.x'on:- push:- branches:- - mog/webscraper-refactorworkflow_dispatch:jobs:diff --git a/.github/workflows/deploy-image.yml b/.github/workflows/deploy-image.ymlindex c18c7a71f..59079dd78 100644--- a/.github/workflows/deploy-image.yml+++ b/.github/workflows/deploy-image.yml@@ -8,6 +8,8 @@ on:push:branches:- main+ paths:+ - apps/api/**workflow_dispatch:jobs:diff --git a/.github/workflows/publish-js-sdk.yml b/.github/workflows/publish-js-sdk.ymlnew file mode 100644index 000000000..6d380203f--- /dev/null+++ b/.github/workflows/publish-js-sdk.yml@@ -0,0 +1,27 @@+name: Publish JS SDK++on:+ push:+ branches:+ - main+ paths:+ - apps/js-sdk/firecrawl/package.json++env:+ TEST_API_KEY: ${{ secrets.TEST_API_KEY }}++jobs:+ publish:+ name: Publish+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v3+ - name: Set up Node.js+ uses: actions/setup-node@v3+ with:+ node-version: "20"+ - name: Authenticate+ run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc+ - name: Publish+ run: npm publish+ working-directory: ./apps/js-sdk/firecrawldiff --git a/.github/workflows/test-js-sdk.yml b/.github/workflows/test-js-sdk.ymlnew file mode 100644index 000000000..a9efc094f--- /dev/null+++ b/.github/workflows/test-js-sdk.yml@@ -0,0 +1,30 @@+name: JS SDK Test Suite++on:+ pull_request:+ branches:+ - main+ paths:+ - apps/js-sdk/firecrawl/**++env:+ TEST_API_KEY: ${{ secrets.TEST_API_KEY }}++jobs:+ test:+ name: Run tests+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v3+ - name: Set up Node.js+ uses: actions/setup-node@v3+ with:+ node-version: "20"+ - name: Install pnpm+ run: npm install -g pnpm+ - name: Install dependencies+ run: pnpm install+ working-directory: ./apps/js-sdk/firecrawl+ - name: Run tests+ run: pnpm run test+ working-directory: ./apps/js-sdk/firecrawldiff --git a/.github/workflows/ci.yml b/.github/workflows/test-server.ymlsimilarity index 96%rename from .github/workflows/ci.ymlrename to .github/workflows/test-server.ymlindex e9519ef19..2af418d61 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/test-server.yml@@ -1,8 +1,11 @@-name: CI/CD+name: Server Test Suite+on:pull_request:branches:- main+ paths:+ - apps/api/**# schedule:# - cron: '0 */4 * * *'@@ -31,8 +34,8 @@ env:ENV: ${{ secrets.ENV }}jobs:- pre-deploy:- name: Pre-deploy checks+ test:+ name: Run testsruns-on: ubuntu-latestservices:redis: