tools: avoid test/fixtures/wpt/README.md conflicts

Signed-off-by: Filip Skokan <panva.ip@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/63938
Refs: https://github.com/nodejs/node-core-utils/pull/1094
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Mattias Buelens <mattias@buelens.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
This commit is contained in:
Filip Skokan committed 2026-06-18 11:53:05 +02:00
1 parent d001e26f40
commit d1ff9a0dc2
2 files changed
+11 -33

No files matched your search

+8
View File
@@ -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 }}