{"id":14984112,"url":"https://github.com/prettier/prettier-regression-testing","last_synced_at":"2025-10-19T11:31:48.330Z","repository":{"id":37021288,"uuid":"299555917","full_name":"prettier/prettier-regression-testing","owner":"prettier","description":"Automates the prettier/prettier regression checks with GitHub Actions.","archived":false,"fork":false,"pushed_at":"2024-05-30T06:56:57.000Z","size":402,"stargazers_count":12,"open_issues_count":38,"forks_count":9,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-29T15:15:10.758Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prettier.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"prettier","open_collective":"prettier","tidelift":"npm/prettier"}},"created_at":"2020-09-29T08:39:49.000Z","updated_at":"2024-10-24T07:51:35.000Z","dependencies_parsed_at":"2023-12-14T20:06:28.255Z","dependency_job_id":"53bbf09d-1ac3-4135-b925-7cf63654d7bc","html_url":"https://github.com/prettier/prettier-regression-testing","commit_stats":{"total_commits":154,"total_committers":6,"mean_commits":"25.666666666666668","dds":0.4415584415584416,"last_synced_commit":"9cb39001372291b9448ffad5056e58986f3ac72a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prettier%2Fprettier-regression-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prettier%2Fprettier-regression-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prettier%2Fprettier-regression-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prettier%2Fprettier-regression-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prettier","download_url":"https://codeload.github.com/prettier/prettier-regression-testing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237117166,"owners_count":19258364,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T14:08:28.177Z","updated_at":"2025-10-19T11:31:47.997Z","avatar_url":"https://github.com/prettier.png","language":"TypeScript","funding_links":["https://github.com/sponsors/prettier","https://opencollective.com/prettier","https://tidelift.com/funding/github/npm/prettier"],"categories":[],"sub_categories":[],"readme":"# prettier-regression-testing\n\n## Motivation\n\nhttps://github.com/prettier/prettier/issues/9290\n\nWe run Prettier on other projects prior to release to check for regressions. (See [Release Checklist](https://github.com/prettier/prettier/wiki/Release-Checklist))\n\nWe used to do that manually.\n\n- https://github.com/sosukesuzuki/eslint-plugin-vue/pull/1\n- https://github.com/sosukesuzuki/typescript-eslint/pull/1\n\nThis is a lot of work, so we use GitHub Actions to automate it.\n\n## Usage\n\nCreate an issue comment like the one below:\n\n```\nrun alternativeVersionPrettier vs originalVersionPrettier\n```\n\n### `alternativeVersionPrettier`\n\nRequired.\n\nThere are 3 ways to specify.\n\n1. Versions (e.g. `2.0.0`, `1.7.1`)\n2. Repository name + ref (e.g. `sosukesuzuki/prettier#2f3fc241f8cb1867a0a3073ceac9d662e4b25fab`).\n3. Pull Request number on [prettier/prettier](https://github.com/prettier/prettier) repository (e.g. `#110168`).\n\n### `originalVersionPrettier`\n\nOptional.\n\nIn default, use `prettier/prettier#main`.\n\nAlso, you can specify with the logic same as `alternativeVersionPrettier`.\n\n## Examples\n\n```\nrun #110168\n```\n\n```\nrun #110168 vs sosukesuzuki/prettier#main\n```\n\n```\nrun sosukesuzuki/prettier#main vs 1.8.1\n```\n\n## Add new project\n\nAdd a project info to `projects.json`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprettier%2Fprettier-regression-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprettier%2Fprettier-regression-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprettier%2Fprettier-regression-testing/lists"}