Skip to content

Commit 6785cc8

Browse files
CopilotB4nanrenovate[bot]
authored
chore: Bump remaining Playwright 1.58.2 references across workspace, templates, E2E actors, and Node 24 Docker images (apify#3538)
- [x] Inspect the new camoufox Dockerfile review comment and compare the current file against the cited commit history - [x] Revert only the unnecessary camoufox Dockerfile change while preserving the required Playwright and Node 24 updates - [x] Run targeted validation for the affected templates/Dockerfile area (`corepack yarn validate` in `packages/templates`) - [x] Run final review/security checks and reply to the PR comment --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Martin Adámek <banan23@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: B4nan <615580+B4nan@users.noreply.github.com>
1 parent cbef2de commit 6785cc8

42 files changed

Lines changed: 64 additions & 67 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/stagehand-crawler/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
},
8585
"devDependencies": {
8686
"@browserbasehq/stagehand": "^3.0.7",
87-
"playwright": "^1.58.0",
87+
"playwright": "^1.58.2",
8888
"zod": "^4.3.5"
8989
}
9090
}

packages/templates/templates/camoufox-ts/Dockerfile

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Specify the base Docker image. You can read more about
22
# the available images at https://crawlee.dev/docs/guides/docker-images
33
# You can also use any other image from Docker Hub.
4-
FROM apify/actor-node-playwright-camoufox:24-1.50.1 AS builder
4+
FROM apify/actor-node-playwright-camoufox:24-1.58.2 AS builder
55

66
# Copy just package.json and package-lock.json
77
# to speed up the build using Docker layer cache.
@@ -19,7 +19,7 @@ COPY --chown=myuser . ./
1919
RUN npm run build
2020

2121
# Create final image
22-
FROM apify/actor-node-playwright-camoufox:24-1.50.1
22+
FROM apify/actor-node-playwright-camoufox:24-1.58.2
2323

2424
# Copy only built JS files from builder image
2525
COPY --from=builder --chown=myuser /home/myuser/dist ./dist
@@ -40,11 +40,8 @@ RUN npm --quiet set progress=false \
4040
&& echo "NPM version:" \
4141
&& npm --version
4242

43-
# Next, copy the remaining files and directories with the source code.
44-
# Since we do this after NPM install, quick build will be really fast
45-
# for most source file changes.
43+
# Copy the source files and directories.
4644
COPY --chown=myuser . ./
4745

48-
# Run the image. If you know you won't need headful browsers,
49-
# you can remove the XVFB start script for a micro perf gain.
50-
CMD ./start_xvfb_and_run_cmd.sh && npm run start:prod --silent
46+
# Run the image.
47+
CMD npm run start:prod

packages/templates/templates/camoufox-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"dependencies": {
77
"camoufox-js": "^0.9.0",
88
"crawlee": "^3.0.0",
9-
"playwright": "*"
9+
"playwright": "1.58.2"
1010
},
1111
"devDependencies": {
1212
"@apify/tsconfig": "^0.1.0",

packages/templates/templates/getting-started-js/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Specify the base Docker image. You can read more about
22
# the available images at https://crawlee.dev/docs/guides/docker-images
33
# You can also use any other image from Docker Hub.
4-
FROM apify/actor-node-playwright-chrome:20
4+
FROM apify/actor-node-playwright-chrome:24-1.58.2
55

66
# Copy just package.json and package-lock.json
77
# to speed up the build using Docker layer cache.

packages/templates/templates/getting-started-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "This is an example of a Crawlee project.",
66
"dependencies": {
77
"crawlee": "^3.0.0",
8-
"playwright": "*"
8+
"playwright": "1.58.2"
99
},
1010
"scripts": {
1111
"start": "node src/main.js",

packages/templates/templates/getting-started-ts/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Specify the base Docker image. You can read more about
22
# the available images at https://crawlee.dev/docs/guides/docker-images
33
# You can also use any other image from Docker Hub.
4-
FROM apify/actor-node-playwright-chrome:20 AS builder
4+
FROM apify/actor-node-playwright-chrome:24-1.58.2 AS builder
55

66
# Copy just package.json and package-lock.json
77
# to speed up the build using Docker layer cache.
@@ -19,7 +19,7 @@ COPY --chown=myuser . ./
1919
RUN npm run build
2020

2121
# Create final image
22-
FROM apify/actor-node-playwright-chrome:20
22+
FROM apify/actor-node-playwright-chrome:24-1.58.2
2323

2424
# Copy only built JS files from builder image
2525
COPY --from=builder --chown=myuser /home/myuser/dist ./dist

packages/templates/templates/getting-started-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "This is an example of a Crawlee project.",
66
"dependencies": {
77
"crawlee": "^3.0.0",
8-
"playwright": "*"
8+
"playwright": "1.58.2"
99
},
1010
"devDependencies": {
1111
"@apify/tsconfig": "^0.1.0",

packages/templates/templates/playwright-js/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Specify the base Docker image. You can read more about
22
# the available images at https://crawlee.dev/docs/guides/docker-images
33
# You can also use any other image from Docker Hub.
4-
FROM apify/actor-node-playwright-chrome:20
4+
FROM apify/actor-node-playwright-chrome:24-1.58.2
55

66
# Copy just package.json and package-lock.json
77
# to speed up the build using Docker layer cache.

packages/templates/templates/playwright-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "This is an example of a Crawlee project.",
66
"dependencies": {
77
"crawlee": "^3.0.0",
8-
"playwright": "*"
8+
"playwright": "1.58.2"
99
},
1010
"scripts": {
1111
"start": "node src/main.js",

packages/templates/templates/playwright-ts/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Specify the base Docker image. You can read more about
22
# the available images at https://crawlee.dev/docs/guides/docker-images
33
# You can also use any other image from Docker Hub.
4-
FROM apify/actor-node-playwright-chrome:20 AS builder
4+
FROM apify/actor-node-playwright-chrome:24-1.58.2 AS builder
55

66
# Copy just package.json and package-lock.json
77
# to speed up the build using Docker layer cache.
@@ -19,7 +19,7 @@ COPY --chown=myuser . ./
1919
RUN npm run build
2020

2121
# Create final image
22-
FROM apify/actor-node-playwright-chrome:20
22+
FROM apify/actor-node-playwright-chrome:24-1.58.2
2323

2424
# Copy only built JS files from builder image
2525
COPY --from=builder --chown=myuser /home/myuser/dist ./dist

0 commit comments

Comments
 (0)