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: fix turbo and yarn incompatibility with node 16 (#2657)

Vlad Frangu5feca1b875e6
diff --git a/.github/workflows/test-ci.yml b/.github/workflows/test-ci.yml
index 59094e047..755e0a65b 100644
--- a/.github/workflows/test-ci.yml
+++ b/.github/workflows/test-ci.yml
@@ -56,18 +56,24 @@ jobs:
uses: actions/cache@v4
with:
path: .turbo
- key: turbo-${{ github.job }}-${{ github.ref_name }}-${{ github.sha }}
+ key: turbo-${{ github.job }}-${{ matrix.node-version }}-${{ github.ref_name }}-${{ github.sha }}
restore-keys: |
- turbo-${{ github.job }}-${{ github.ref_name }}-
+ turbo-${{ github.job }}-${{ matrix.node-version }}-${{ github.ref_name }}-
- name: Install Dependencies
run: yarn
+ env:
+ YARN_IGNORE_NODE: 1
- name: Build
run: yarn ci:build
+ env:
+ YARN_IGNORE_NODE: 1
- name: Tests
run: yarn test
+ env:
+ YARN_IGNORE_NODE: 1
docs:
name: Docs build