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 (vol. 2) (#3236)

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