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 retrying in NPM publish workflow (#3234)

Jan Bucharbe0b0bcfbd77
diff --git a/.github/workflows/publish-to-npm.yml b/.github/workflows/publish-to-npm.yml
index 6badd8517..b81caa147 100644
--- a/.github/workflows/publish-to-npm.yml
+++ b/.github/workflows/publish-to-npm.yml
@@ -96,7 +96,7 @@ jobs:
timeout_minutes: 10
max_attempts: 5
retry_wait_seconds: 30
- command: yarn publish:prod --yes --no-verify-access
+ command: git checkout . && yarn publish:prod --yes
env:
GH_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}