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.

chore: update `actions/setup-node` to v5 (#3157)

Martin Adámekf5921e025d8b
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index afbe08270..94eee61cd 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -20,9 +20,10 @@ jobs:
- uses: actions/checkout@v5
- name: Use Node.js 20
- uses: actions/setup-node@v4
+ uses: actions/setup-node@v5
with:
node-version: 22
+ package-manager-cache: false
- name: Enable corepack
run: |
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index f65cf0201..5869716b6 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -47,9 +47,10 @@ jobs:
uses: actions/checkout@v5
- name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v4
+ uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
+ package-manager-cache: false
- name: Enable corepack
run: |
@@ -57,7 +58,7 @@ jobs:
corepack prepare yarn@stable --activate
- name: Activate cache for Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v4
+ uses: actions/setup-node@v5
with:
cache: 'yarn'
@@ -95,9 +96,10 @@ jobs:
fetch-depth: 0
- name: Use Node.js 20
- uses: actions/setup-node@v4
+ uses: actions/setup-node@v5
with:
node-version: 22
+ package-manager-cache: false
- name: Enable corepack
run: |
@@ -105,7 +107,7 @@ jobs:
corepack prepare yarn@stable --activate
- name: Activate cache for Node.js 20
- uses: actions/setup-node@v4
+ uses: actions/setup-node@v5
with:
cache: 'yarn'
@@ -184,9 +186,10 @@ jobs:
fetch-depth: 0
- name: Use Node.js 20
- uses: actions/setup-node@v4
+ uses: actions/setup-node@v5
with:
node-version: 22
+ package-manager-cache: false
- name: Install jq
run: sudo apt-get install jq
@@ -197,7 +200,7 @@ jobs:
corepack prepare yarn@stable --activate
- name: Activate cache for Node.js 20
- uses: actions/setup-node@v4
+ uses: actions/setup-node@v5
with:
cache: 'yarn'
diff --git a/.github/workflows/test-ci.yml b/.github/workflows/test-ci.yml
index dc79b8637..2b5e787bc 100644
--- a/.github/workflows/test-ci.yml
+++ b/.github/workflows/test-ci.yml
@@ -35,9 +35,10 @@ jobs:
uses: actions/checkout@v5
- name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v4
+ uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
+ package-manager-cache: false
- name: Enable corepack
run: |
@@ -45,7 +46,7 @@ jobs:
corepack prepare yarn@stable --activate
- name: Activate cache for Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v4
+ uses: actions/setup-node@v5
with:
cache: 'yarn'
@@ -89,9 +90,10 @@ jobs:
uses: actions/checkout@v5
- name: Use Node.js 20
- uses: actions/setup-node@v4
+ uses: actions/setup-node@v5
with:
node-version: 22
+ package-manager-cache: false
- name: Enable corepack
run: |
@@ -99,7 +101,7 @@ jobs:
corepack prepare yarn@stable --activate
- name: Activate cache for Node.js 20
- uses: actions/setup-node@v4
+ uses: actions/setup-node@v5
with:
cache: 'yarn'
@@ -133,9 +135,10 @@ jobs:
uses: actions/checkout@v5
- name: Use Node.js 20
- uses: actions/setup-node@v4
+ uses: actions/setup-node@v5
with:
node-version: 22
+ package-manager-cache: false
- name: Enable corepack
run: |
@@ -143,7 +146,7 @@ jobs:
corepack prepare yarn@stable --activate
- name: Activate cache for Node.js 20
- uses: actions/setup-node@v4
+ uses: actions/setup-node@v5
with:
cache: 'yarn'
@@ -176,9 +179,10 @@ jobs:
uses: actions/checkout@v5
- name: Use Node.js 20
- uses: actions/setup-node@v4
+ uses: actions/setup-node@v5
with:
node-version: 22
+ package-manager-cache: false
- name: Enable corepack
run: |
@@ -186,7 +190,7 @@ jobs:
corepack prepare yarn@stable --activate
- name: Activate cache for Node.js 20
- uses: actions/setup-node@v4
+ uses: actions/setup-node@v5
with:
cache: 'yarn'
diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml
index b0fefbed5..1b3fb1b2a 100644
--- a/.github/workflows/test-e2e.yml
+++ b/.github/workflows/test-e2e.yml
@@ -30,9 +30,10 @@ jobs:
uses: actions/checkout@v5
- name: Use Node.js 20
- uses: actions/setup-node@v4
+ uses: actions/setup-node@v5
with:
node-version: 22
+ package-manager-cache: false
- name: Enable corepack
run: |
@@ -40,7 +41,7 @@ jobs:
corepack prepare yarn@stable --activate
- name: Activate cache for Node.js 20
- uses: actions/setup-node@v4
+ uses: actions/setup-node@v5
with:
cache: 'yarn'
diff --git a/.github/workflows/update_zenhub_pipeline.yml b/.github/workflows/update_zenhub_pipeline.yml
index cc45480fa..f47002e26 100644
--- a/.github/workflows/update_zenhub_pipeline.yml
+++ b/.github/workflows/update_zenhub_pipeline.yml
@@ -25,9 +25,10 @@ jobs:
uses: actions/checkout@v5
- name: Set up Node.js
- uses: actions/setup-node@v4
+ uses: actions/setup-node@v5
with:
node-version: '24'
+ package-manager-cache: false
- name: Get linked issues
id: get_linked_issues