Skip to content

sosukesuzuki/prettier-regression-testing

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 5 commits behind prettier:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 

prettier-regression-testing

Motivation

prettier/prettier#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.

Usage

Create an issue comment like the one below:

run alternativeVersionPrettier vs originalVersionPrettier

alternativeVersionPrettier

Required.

There are 3 ways to specify.

  1. Versions (e.g. 2.0.0, 1.7.1)
  2. Repository name + ref (e.g. sosukesuzuki/prettier#2f3fc241f8cb1867a0a3073ceac9d662e4b25fab).
  3. Pull Request number on prettier/prettier repository (e.g. #110168).

originalVersionPrettier

Optional.

In default, use prettier/prettier#main.

Also, you can specify with the logic same as alternativeVersionPrettier.

Examples

run #110168
run #110168 vs sosukesuzuki/prettier#main
run sosukesuzuki/prettier#main vs 1.8.1

Add new project

Add a project info to projects.json.

About

Automates the prettier/prettier regression checks with GitHub Actions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 92.1%
  • JavaScript 7.9%