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.

build: auto confirm lerna commands 2

Martin Adámek6a0409e57648
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 2ce165df4..00e970013 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -72,8 +72,9 @@ jobs:
- name: Build
run: npm run ci:build
- - name: Tests
- run: npm test
+# TODO uncomment once releasing works as expected
+# - name: Tests
+# run: npm test
release:
name: "Bump Crawlee: ${{ inputs.version }} version (${{ inputs.custom_version || 'n/a' }} custom version)"
@@ -117,14 +118,14 @@ jobs:
- name: Bump version to custom version
if: ${{ github.event.inputs.version == 'custom' && github.event.inputs.custom_version != '' }}
- run: npx lerna version ${{ github.event.inputs.custom_version}} -y
+ run: npx lerna version ${{ github.event.inputs.custom_version}} -- --yes --no-verify-access
- name: Bump version to ${{ github.event.inputs.version }} version
if: ${{ github.event.inputs.version != 'custom' }}
- run: npx lerna version ${{ github.event.inputs.version}} -y
+ run: npx lerna version ${{ github.event.inputs.version}} -- --yes --no-verify-access
- name: Publish packages
- run: npx lerna publish from-package --contents dist --force-publish -y
+ run: npx lerna publish from-package --contents dist --force-publish -- --yes --no-verify-access
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GIT_USER: "[email protected]:${{ secrets.GH_TOKEN }}"
diff --git a/package.json b/package.json
index c6a9c227e..3a9add3fb 100644
--- a/package.json
+++ b/package.json
@@ -46,6 +46,8 @@
"coverage": "jest --coverage",
"publish:next": "lerna publish from-package --contents dist --dist-tag next --force-publish",
"release:next": "npm run build && npm run publish:next",
+ "publish": "lerna publish from-package --contents dist --force-publish",
+ "release": "npm run build && npm run publish",
"lint": "eslint packages/browser-pool/tab-as-a-container packages/*/src packages/*/test test",
"lint:fix": "eslint packages/browser-pool/tab-as-a-container packages/*/src packages/*/test test --fix"
},