Skip to content

Add playwright to hugo-node#57

Draft
oliviergoulet5 wants to merge 1 commit into
masterfrom
feat/add-playwright-to-hugo-node
Draft

Add playwright to hugo-node#57
oliviergoulet5 wants to merge 1 commit into
masterfrom
feat/add-playwright-to-hugo-node

Conversation

@oliviergoulet5

Copy link
Copy Markdown
Member

Hey, we would like to add Playwright to the hugo-node image for automated testing with real browsers.

I also added Node's bin directory to the path so we don't need to write a bunch of symlinks.

@oliviergoulet5 oliviergoulet5 requested a review from fredg02 July 3, 2026 20:28
@oliviergoulet5

Copy link
Copy Markdown
Member Author

...and I'm noticing the versions aren't lining up. I'll tag an older version of Playwright that supports Node 18 for the default arg.

@oliviergoulet5 oliviergoulet5 marked this pull request as draft July 3, 2026 20:31
@fredg02

fredg02 commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

It might make sense to update the hugo and the nodejs version to more recent versions (...that are not EOL). :)

@oliviergoulet5

Copy link
Copy Markdown
Member Author

@fredg02 Yeah good point. For some reason I thought changing the defaults would be a breaking change, but never mind. I was overthinking it.

@autumnfound

Copy link
Copy Markdown
Contributor

Yeah, this is unfortunately a frequent problem with Alpine. Any non-latest version of a package gets removed when updated for a version of Alpine. It's one of the reasons we have pinned versions of the OS and don't always use latest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants