https://github.com/prettier/prettier/issues/9290
We run Prettier on other projects prior to release to check for regressions. (See Release Checklist)
We used to do that manually.
This is a lot of work, so we use GitHub Actions to automate it.
Create an issue comment like the one below:
run alternativeVersionPrettier vs originalVersionPrettier
alternativeVersionPrettier
Required.
There are 3 ways to specify.
2.0.0
, 1.7.1
)sosukesuzuki/prettier#2f3fc241f8cb1867a0a3073ceac9d662e4b25fab
).#110168
).originalVersionPrettier
Optional.
In default, use prettier/prettier#main
.
Also, you can specify with the logic same as alternativeVersionPrettier
.
run #110168
run #110168 vs sosukesuzuki/prettier#main
run sosukesuzuki/prettier#main vs 1.8.1
Add a repository as a git submodule.
git submodule add https://github.com/sosukesuzuki/example.git repos/example
Update targetRepositoryGlobPatternMap
and targetRepositoryIgnorePathMap
(https://github.com/prettier/prettier-regression-testing/blob/0fc90188909b6c949961b83f038f8e8374aedc68/src/execute/run-prettier.ts#L4-L14).