Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

ci: cap Build & Test at 30 minutes (#4055)

Martin Adámeka8da14666cf9
diff --git a/.github/workflows/test-ci.yml b/.github/workflows/test-ci.yml
index bb363c953..847cbe3fd 100644
--- a/.github/workflows/test-ci.yml
+++ b/.github/workflows/test-ci.yml
@@ -18,6 +18,9 @@ jobs:
name: Build & Test
if: (!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, 'docs:'))
runs-on: ${{ matrix.os }}
+ # A green run is ~5-10 min; without a cap a flaky test that leaks a handle hangs to the
+ # 6h default and wastes a full runner. 30 min is a wide margin that still fails fast.
+ timeout-minutes: 30
strategy:
fail-fast: false