107 Commits

Author SHA1 Message Date
Yury Semikhatsky 655530f6d0 devops: restore npm publishing from GitHub Actions (#459)
## Summary
- Release publishing goes back to the GitHub Actions workflow with OIDC
trusted publishing and provenance.
- The ESRP pipeline stays available for manual on-demand runs only (no
automatic triggers).
2026-09-03 12:04:51 -07:00
Yury Semikhatsky 397ee39c83 chore: mark v0.1.19 (#458) v0.1.19 2026-09-01 08:38:23 -07:00
Yury Semikhatsky 58d9406780 chore: roll Playwright to 1.63.0-alpha-2026-08-31 (#457) 2026-09-01 08:36:57 -07:00
Yury Semikhatsky cbc09311c4 devops: publish all npm versions via ESRP pipeline (#456)
The ESRP pipeline now publishes @next with current timestamp on manual
runs and @latest from v* release tags. The GitHub Actions npm publish
workflow is removed.
2026-08-27 15:21:41 -07:00
Mert Can Altin 60cb176373 fix(cli): call defaultRegistryDirectory() when resolving the cache file (#454)
`registry.defaultRegistryDirectory` became a function upstream in
microsoft/playwright#41942 and arrived here with the roll to
1.63.0-alpha-2026-08-05. `cacheFile()` still used it as a string, so
`path.join()` threw, `readCache()`/`writeCache()` swallowed the
TypeError, and the update check was never cached: every single CLI
invocation fetched the npm registry and re-ran the installed-skill
check.

Locally that is ~480ms per command instead of ~125ms.

Tests always set PLAYWRIGHT_CLI_INSTALLATION_FOR_TEST, so the default
branch was never exercised. Add a regression test that points HOME at a
temp directory and asserts the cache file is written.

Also hoist `cacheFile()` out of the try blocks so only I/O and parse
failures are swallowed there, instead of masking a path-computation bug
as "no cache".
2026-08-24 16:15:19 -06:00
dependabot[bot] 2f85a94b7b chore(deps): bump the github-actions group with 2 updates (#451) 2026-08-19 12:49:25 -07:00
Dan Fiedler 578643330f Pin GitHub Actions to full-length commit SHAs (#450) 2026-08-19 09:33:15 -07:00
Pavel Feldman 4f9d85a947 fix(cli): apply update-check policy to installed skill check (#447) 2026-08-13 11:39:25 -07:00
Yury Semikhatsky e2d8f311f3 devops: add ESRP pipeline for publishing npm alpha versions (#446) 2026-08-07 11:18:33 -07:00
Yury Semikhatsky ca196c2971 chore: mark v0.1.18 (#444) v0.1.18 2026-08-05 17:12:10 -07:00
Yury Semikhatsky 40783a0063 chore: roll Playwright to 1.63.0-alpha-2026-08-05 (#442) 2026-08-05 15:44:50 -07:00
Dmitry Gozman eee5a185c9 fix(skills): ignore line ending differences when checking installed skill (#439)
Fixes: https://github.com/microsoft/playwright/issues/41760
2026-07-15 17:22:37 +01:00
Yury Semikhatsky 793cfb3257 chore: mark v0.1.17 (#437) v0.1.17 2026-07-09 12:09:39 -07:00
Yury Semikhatsky 372ad83f96 chore: roll Playwright to 1.62.0-alpha-1783623505000 (#436) 2026-07-09 12:05:38 -07:00
Yury Semikhatsky 22d98afd7e chore: mark v0.1.16 (#435) v0.1.16 2026-07-09 11:29:49 -07:00
Yury Semikhatsky 72735e5705 chore: roll Playwright to 1.62.0-alpha-2026-07-08 (#434) 2026-07-09 11:09:14 -07:00
Pavel Feldman 74d9bf144a chore: mark v0.1.15 (#432) v0.1.15 2026-06-29 16:26:16 -07:00
Pavel Feldman 34bf2ada4d chore: roll Playwright to 1.62.0-alpha-2026-06-29 (#431) 2026-06-29 16:08:36 -07:00
Simon Knott 13639df120 test(skills): regress on skill-update notice (#429)
Add an integration test that installs skills, mutates the installed SKILL.md, and asserts the out-of-date warning is shown. Guards against the bundled-skill path resolution regressing if files move.
2026-06-29 13:49:28 +02:00
Pavel Feldman 9805da3991 feat(cli): warn when installed skill is out of date (#427) 2026-06-23 11:13:50 -07:00
Pavel Feldman 0857d71fe5 feat(cli): notify when a newer version is available on npm (#426) 2026-06-23 10:16:29 -07:00
Yury Semikhatsky 9b118a1a73 chore: mark v0.1.14 (#423) v0.1.14 2026-06-09 17:14:06 -07:00
Yury Semikhatsky 7845dfc927 chore: roll Playwright to 1.61.0-alpha-1781023400000 (#422) 2026-06-09 17:03:34 -07:00
Yury Semikhatsky 3a1bafc8b4 chore: mark v0.1.13 (#402) v0.1.13 2026-05-07 16:01:12 -07:00
Yury Semikhatsky fba4d994e1 chore: roll Playwright to 1.61.0-alpha-1778188671000 (#401) 2026-05-07 15:31:41 -07:00
Yury Semikhatsky 695107b8cd chore: mark v0.1.12 (#400) v0.1.12 2026-05-06 16:00:56 -07:00
Yury Semikhatsky a9785a501c chore: roll Playwright to 1.60.0-alpha-1778101408000 (#399) 2026-05-06 14:56:19 -07:00
Andrea Arturo Venti Fuentes fb2a027f20 fix(deps): declare playwright-core as direct dependency (#397) 2026-05-04 14:54:43 -07:00
Yury Semikhatsky 212b11d473 chore: mark v0.1.11 (#395)
* chore(ci): downgrade Node.js from 22 to 20

* chore: mark v0.1.11
v0.1.11
2026-05-01 15:34:39 -07:00
Yury Semikhatsky ab6ab40a1c chore(ci): bump checkout/setup-node to Node 24 versions (#394)
* chore(ci): bump checkout/setup-node to versions running on Node.js 24

GitHub is forcing JavaScript actions to Node 24 by default on
2026-06-02 and removing Node 20 from runners on 2026-09-16.

- actions/checkout@v4 -> v5
- actions/setup-node@v4 -> v5

* chore(ci): bump CI Node.js from 20 to 22

Node.js 20 reached end-of-life in April 2026.

* chore(ci): pin Node.js to 24, drop bundled npm upgrade

Node 24 ships npm 11.12.1, which already satisfies the npm 11.5.1+
requirement for OIDC npm publishing.

* chore(ci): keep CI on Node.js 22 (oldest active LTS)

Use the oldest supported LTS in CI to catch any reliance on
newer-Node-only behavior. Publish job stays on 24 for the
bundled npm 11.
2026-05-01 15:17:15 -07:00
Yury Semikhatsky 6b909c5169 chore: roll Playwright to 1.60.0-alpha-1777669338000 (#393) 2026-05-01 14:57:09 -07:00
Yury Semikhatsky 8d95174a8f chore: mark v0.1.10 (#391) v0.1.10 2026-04-30 13:14:05 -07:00
Yury Semikhatsky cb97fa36dc chore: roll Playwright to 1.60.0-alpha-1777575331000 (#392) 2026-04-30 12:55:58 -07:00
Yury Semikhatsky 37c3028c36 chore: roll Playwright to 1.60.0-alpha-1777566615000 (#390) 2026-04-30 11:04:06 -07:00
Pavel Feldman ee24ded177 chore: mark v0.1.9 (#380) v0.1.9 2026-04-24 19:24:43 -07:00
Pavel Feldman 8428dd70d1 chore: roll Playwright to 1.60.0-alpha-1777077614000 (#381) 2026-04-24 17:59:11 -07:00
Pavel Feldman e0019254b5 chore: roll Playwright to 1.60.0-alpha-2026-04-24 (#379) 2026-04-24 17:13:19 -07:00
Pavel Feldman 0406adaed4 chore: add release preparation skill (#368) v0.1.8 2026-04-14 11:41:27 -07:00
Pavel Feldman ccf6386e08 chore: mark v0.1.8 (#367) 2026-04-14 11:36:25 -07:00
Pavel Feldman fac6ebbe68 chore: roll Playwright to 1.60.0-alpha-2026-04-14 (#366) 2026-04-14 11:00:21 -07:00
Pavel Feldman 7f33fd621f fix(deps): remove unused minimist dependency (#361)
Fixes: https://github.com/microsoft/playwright-cli/issues/359
2026-04-13 16:46:56 -07:00
Pavel Feldman 1a3b1f30ba chore: mark v0.1.7 (#357) 0.1.7 2026-04-11 17:01:23 -07:00
Pavel Feldman 4282eb9f78 chore: roll Playwright to 1.60.0-alpha-1775951570000 (#356) 2026-04-11 17:01:04 -07:00
Yury Semikhatsky 5f8ca8b41d chore: roll Playwright to 1.60.0-alpha-1775931579000 (#355) 2026-04-11 11:34:10 -07:00
Yury Semikhatsky 278fcad5a7 chore: mark v0.1.6 (#349) v0.1.6 2026-04-07 16:28:42 -07:00
Yury Semikhatsky 3f43390e78 chore: roll Playwright to 1.60.0-alpha-1775584683000 (#348) 2026-04-07 11:36:36 -07:00
Yury Semikhatsky a0d5bfd4d9 chore: mark v0.1.5 (#342) v0.1.5 2026-04-03 11:12:36 -07:00
Yury Semikhatsky a16657bddf chore: roll Playwright to 1.60.0-alpha-1775237291000 (#341) 2026-04-03 10:48:14 -07:00
Pavel Feldman 4a115841c6 chore: mark v0.1.4 (#334)
* chore: roll Playwright to 1.60.0-alpha-1775061447000
v0.1.4
2026-04-01 11:03:18 -07:00
Pavel Feldman 084d0c0d19 chore: mark v0.1.3 (#333) v0.1.3 2026-03-31 17:13:08 -07:00