diff --git a/.github/workflows/update-wpt.yml b/.github/workflows/update-wpt.yml index 05b1503f3c3c1f..49e234b2bb2396 100644 --- a/.github/workflows/update-wpt.yml +++ b/.github/workflows/update-wpt.yml @@ -52,6 +52,14 @@ jobs: - name: Update WPT for subsystem ${{ matrix.subsystem }} run: | git node wpt "$SUBSYSTEM" + # TODO: Remove this workaround after @node-core/utils stops + # regenerating test/fixtures/wpt/README.md for every subsystem + # update. + # git node wpt currently rewrites test/fixtures/wpt/README.md with a + # generated summary for every subsystem update. versions.json is the + # authoritative metadata, and keeping the README stable avoids + # conflicts between concurrent WPT update PRs. + git restore test/fixtures/wpt/README.md env: SUBSYSTEM: ${{ matrix.subsystem }} diff --git a/test/fixtures/wpt/README.md b/test/fixtures/wpt/README.md index 3a69057214a699..1443e070fce855 100644 --- a/test/fixtures/wpt/README.md +++ b/test/fixtures/wpt/README.md @@ -1,44 +1,14 @@ # Web Platform Test Fixtures -The files in this folder, including this document, -are generated by [`git node wpt`][]. +The files in this folder are maintained by [`git node wpt`][]. This folder contains a subset of the [Web Platform Tests][] for the implementation of Web APIs in Node.js. See [test/wpt](../../wpt/README.md) for information on how these tests are run. -Last update: - -- common: https://github.com/web-platform-tests/wpt/tree/dbd648158d/common -- compression: https://github.com/web-platform-tests/wpt/tree/ae05f5cb53/compression -- console: https://github.com/web-platform-tests/wpt/tree/e48251b778/console -- dom/abort: https://github.com/web-platform-tests/wpt/tree/dc928169ee/dom/abort -- dom/events: https://github.com/web-platform-tests/wpt/tree/0a811c5161/dom/events -- encoding: https://github.com/web-platform-tests/wpt/tree/1ac8deee08/encoding -- fetch/data-urls/resources: https://github.com/web-platform-tests/wpt/tree/7c79d998ff/fetch/data-urls/resources -- FileAPI: https://github.com/web-platform-tests/wpt/tree/7f51301888/FileAPI -- hr-time: https://github.com/web-platform-tests/wpt/tree/34cafd797e/hr-time -- html/webappapis/atob: https://github.com/web-platform-tests/wpt/tree/f267e1dca6/html/webappapis/atob -- html/webappapis/microtask-queuing: https://github.com/web-platform-tests/wpt/tree/2c5c3c4c27/html/webappapis/microtask-queuing -- html/webappapis/structured-clone: https://github.com/web-platform-tests/wpt/tree/47d3fb280c/html/webappapis/structured-clone -- html/webappapis/timers: https://github.com/web-platform-tests/wpt/tree/5873f2d8f1/html/webappapis/timers -- interfaces: https://github.com/web-platform-tests/wpt/tree/a8392bd021/interfaces -- performance-timeline: https://github.com/web-platform-tests/wpt/tree/94caab7038/performance-timeline -- resource-timing: https://github.com/web-platform-tests/wpt/tree/22d38586d0/resource-timing -- resources: https://github.com/web-platform-tests/wpt/tree/6a2f322376/resources -- streams: https://github.com/web-platform-tests/wpt/tree/f8f26a372f/streams -- url: https://github.com/web-platform-tests/wpt/tree/d4598eba09/url -- urlpattern: https://github.com/web-platform-tests/wpt/tree/23aac92784/urlpattern -- user-timing: https://github.com/web-platform-tests/wpt/tree/5ae85bf826/user-timing -- wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/288c467d35/wasm/jsapi -- wasm/webapi: https://github.com/web-platform-tests/wpt/tree/fd1b23eeaa/wasm/webapi -- web-locks: https://github.com/web-platform-tests/wpt/tree/10a122a6bc/web-locks -- WebCryptoAPI: https://github.com/web-platform-tests/wpt/tree/03a1476844/WebCryptoAPI -- webidl: https://github.com/web-platform-tests/wpt/tree/63ca529a02/webidl -- webidl/ecmascript-binding/es-exceptions: https://github.com/web-platform-tests/wpt/tree/2f96fa1996/webidl/ecmascript-binding/es-exceptions -- webmessaging/broadcastchannel: https://github.com/web-platform-tests/wpt/tree/6495c91853/webmessaging/broadcastchannel -- webstorage: https://github.com/web-platform-tests/wpt/tree/1d2c5fb36a/webstorage +Pinned upstream WPT revisions for each imported subset are recorded in +[`versions.json`](./versions.json). [Web Platform Tests]: https://github.com/web-platform-tests/wpt [`git node wpt`]: https://github.com/nodejs/node-core-utils/blob/main/docs/git-node.md#git-node-wpt