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(ci): bake --yes into publish scripts

Martin Adámeke4afb377c080
diff --git a/.github/workflows/publish-to-npm.yml b/.github/workflows/publish-to-npm.yml
index 06e0e3434..ed51d8e01 100644
--- a/.github/workflows/publish-to-npm.yml
+++ b/.github/workflows/publish-to-npm.yml
@@ -85,7 +85,7 @@ jobs:
timeout_minutes: 10
max_attempts: 5
retry_wait_seconds: 30
- command: git checkout . && pnpm publish:prod -- --yes
+ command: git checkout . && pnpm publish:prod
env:
GH_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
@@ -96,6 +96,6 @@ jobs:
timeout_minutes: 10
max_attempts: 5
retry_wait_seconds: 30
- command: git checkout . && pnpm publish:next -- --yes
+ command: git checkout . && pnpm publish:next
env:
GH_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
diff --git a/package.json b/package.json
index 4e5a82064..1cd8b6e18 100644
--- a/package.json
+++ b/package.json
@@ -41,9 +41,9 @@
"test:full": "cross-env CRAWLEE_DIFFICULT_TESTS=1 vitest run --silent",
"tsc-check-tests": "tsc --noEmit --project test/tsconfig.json",
"coverage": "vitest --coverage",
- "publish:next": "lerna publish from-package --contents dist --dist-tag v4 --force-publish",
+ "publish:next": "lerna publish from-package --contents dist --dist-tag v4 --force-publish --yes",
"release:next": "pnpm build && pnpm publish:next",
- "publish:prod": "lerna publish from-package --contents dist --force-publish",
+ "publish:prod": "lerna publish from-package --contents dist --force-publish --yes",
"release:prod": "pnpm build && pnpm publish:prod",
"release:pin-versions": "turbo run copy -- -- --pin-versions",
"lint": "oxlint packages test docs --tsconfig=tsconfig.json --type-aware",