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.
TypeScript apifyautomationcrawlercrawlingheadlessheadless-chromejavascriptnodejsnpmplaywrightpuppeteerscraperscrapingtypescriptweb-crawlerweb-crawlingweb-scraping
ci: Fix execution order in NPM publishing workflow (#3229)
Jan Buchar0b815211d905
diff --git a/.github/workflows/publish-to-npm.yml b/.github/workflows/publish-to-npm.ymlindex 07bb93c7e..a9373fa30 100644--- a/.github/workflows/publish-to-npm.yml+++ b/.github/workflows/publish-to-npm.yml@@ -67,6 +67,9 @@ jobs:- name: Install dependenciesrun: yarn+ - name: Build packages+ run: yarn ci:build+- name: Bump canary versionsif: inputs.dist-tag == 'next'run: |@@ -82,9 +85,6 @@ jobs:message: 'chore: bump canary versions [skip ci]'push: false- - name: Build packages- run: yarn ci:build-- name: Publish to NPM (@latest)if: inputs.dist-tag == 'prod'run: yarn publish:prod --yes --no-verify-accessdiff --git a/.github/workflows/test-ci.yml b/.github/workflows/test-ci.ymlindex 454295d2e..8b5a886c6 100644--- a/.github/workflows/test-ci.yml+++ b/.github/workflows/test-ci.yml@@ -215,7 +215,7 @@ jobs:- name: Generate changed packages listid: changed-packagesrun: |- echo "changed_packages=$(node ./node_modules/.bin/lerna changed -p | wc -l | xargs)" >> $GITHUB_OUTPUT+ echo "changed_packages=$(node ./node_modules/.bin/lerna changed -p | wc -l | xargs)" | tee -a $GITHUB_OUTPUT- name: Report nothing to releaseif: steps.changed-packages.outputs.changed_packages == '0'@@ -236,7 +236,7 @@ jobs:id: versionsrun: |crawlee=`node -p "require('./packages/crawlee/package.json').version"`- echo "crawlee=$crawlee" >> $GITHUB_OUTPUT+ echo "crawlee=$crawlee" | tee -a $GITHUB_OUTPUT- name: Trigger Docker image buildsuses: peter-evans/repository-dispatch@v4