RSSHub/.github/workflows
Tony cfcdc34e1f
refactor: replace playwright with patchright (#21976)
* refactor: use patchwright

* refactor: migrate setRequestInterception and waitUntil

* fix: overwrite ua

* refactor: drop puppeteer cookie/requestfinished shims

Migrate page.cookies/setCookie and browser.cookies/setCookie call sites to the native context APIs (page.context().cookies/addCookies), rewrite requestfinished handlers to await request.response() instead of consuming the synchronous puppeteer-shaped payload, and remove the now-redundant browser.close context-cleanup wrapper. Playwright already handles all of these natively; the shims existed only for the puppeteer -> playwright migration.

* refactor: remove page.authenticate, page.setUserAgent,  browser.newPage(), browser.userAgent() shims

update cookie utility tests

* refactor: replace browser instance with context in Playwright usage across multiple routes

- Updated all instances of `browser` to `context` in Playwright-related functions for consistency and improved resource management.
- Ensured proper closure of context after operations to prevent memory leaks.
- Adjusted request interception methods to utilize the new context variable.

* fix: direct type import

* refactor: remove Puppeteer compatibility layers and unify page handling with Playwright

* fix: test case

* chore: bump patchright to v1.60.0

* chore: pin patchright to 1.59.1

nft can't resolve browser.json due to https://github.com/microsoft/playwright/pull/40093

* chore: pin to node 24.15 for playwright

browser install on node 24.16 stucks due to https://github.com/microsoft/playwright/issues/40724

* fix: update patchright and patchright-core to version 1.60.2 and adjust minify-docker.js for compatibility

* fix: import BrowserContext from patchright
2026-06-07 02:43:20 +08:00
..
build-assets.yml chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 (#22177) 2026-06-03 23:13:31 +00:00
codeql.yml chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 (#22177) 2026-06-03 23:13:31 +00:00
comment-on-issue.yml chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 (#22177) 2026-06-03 23:13:31 +00:00
dependabot-fork.yml chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 (#22177) 2026-06-03 23:13:31 +00:00
docker-release.yml chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 (#22177) 2026-06-03 23:13:31 +00:00
docker-test-cont.yml chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 (#22177) 2026-06-03 23:13:31 +00:00
docker-test.yml chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 (#22177) 2026-06-03 23:13:31 +00:00
format.yml chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 (#22177) 2026-06-03 23:13:31 +00:00
ghcr-retention.yml chore(deps): bump dataaxiom/ghcr-cleanup-action from 1.2.0 to 1.2.1 (#22109) 2026-05-26 14:39:05 +00:00
issue-command.yml refactor: replace playwright with patchright (#21976) 2026-06-07 02:43:20 +08:00
lint.yml chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 (#22177) 2026-06-03 23:13:31 +00:00
npm-publish.yml chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 (#22177) 2026-06-03 23:13:31 +00:00
pr-review.yml chore: allow rigrep 2026-06-05 23:22:38 +08:00
semgrep.yml chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 (#22177) 2026-06-03 23:13:31 +00:00
similar-issues.yml chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 (#22177) 2026-06-03 23:13:31 +00:00
stale.yml chore(deps): bump dessant/lock-threads from 6.0.1 to 6.0.2 (#22096) 2026-05-25 11:56:56 +00:00
test-full-routes.yml chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 (#22177) 2026-06-03 23:13:31 +00:00
test.yml refactor: replace playwright with patchright (#21976) 2026-06-07 02:43:20 +08:00
update-nix-hash.yml chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 (#22177) 2026-06-03 23:13:31 +00:00