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: try to fix canary/latest release workflows

Martin Adámekacfaf299fc98
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 455de0a15..6ca3259de 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -120,7 +120,7 @@ jobs:
- name: Bump version to custom version
if: ${{ github.event.inputs.version == 'custom' && github.event.inputs.custom_version != '' }}
- run: yarn version ${{ github.event.inputs.custom_version}} -- --force-publish --yes
+ run: yarn version ${{ github.event.inputs.custom_version}} --force-publish --yes
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GIT_USER: "[email protected]:${{ secrets.GH_TOKEN }}"
@@ -128,14 +128,14 @@ jobs:
- name: Bump version to ${{ github.event.inputs.version }} version
if: ${{ github.event.inputs.version != 'custom' }}
- run: yarn version ${{ github.event.inputs.version}} -- --force-publish --yes
+ run: yarn version ${{ github.event.inputs.version}} --force-publish --yes
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GIT_USER: "[email protected]:${{ secrets.GH_TOKEN }}"
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Publish packages
- run: yarn publish -- --yes --no-verify-access
+ run: yarn publish --yes --no-verify-access
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GIT_USER: "[email protected]:${{ secrets.GH_TOKEN }}"
diff --git a/.github/workflows/test-ci.yml b/.github/workflows/test-ci.yml
index 294333a48..3b91a45d9 100644
--- a/.github/workflows/test-ci.yml
+++ b/.github/workflows/test-ci.yml
@@ -186,12 +186,12 @@ jobs:
run: |
git config --global user.name 'Apify Release Bot'
git config --global user.email '[email protected]'
- npx lerna run copy --force -- -- --canary --preid=beta
+ yarn turbo --force copy -- --canary --preid=beta
git commit -am "chore: bump canary versions [skip ci]"
echo "access=public" > .npmrc
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
- yarn publish:next -- --yes --no-verify-access
+ yarn publish:next --yes --no-verify-access
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GIT_USER: "[email protected]:${{ secrets.GH_TOKEN }}"