Add `yarn test-prod` to pull request steps
Dan Abramov committed
Nov 22, 2017 at 13:11 UTC
4c451f7f2b99031696b25e0f14a42a85f27e176a
1 file changed
+5
-4
.github/PULL_REQUEST_TEMPLATE.md
+5
-4
@@ -4,9 +4,10 @@
4
2. Run `yarn` in the repository root.
5
3. If you've fixed a bug or added code that should be tested, add tests!
6
4. Ensure the test suite passes (`yarn test`). Tip: `yarn test --watch TestName` is helpful in development.
7
-5. Format your code with [prettier](https://github.com/prettier/prettier) (`yarn prettier`).
8
-6. Make sure your code lints (`yarn lint`). Tip: `yarn linc` to only check changed files.
9
-7. Run the [Flow](https://flowtype.org/) typechecks (`yarn flow`).
10
-8. If you haven't already, complete the CLA.
7
+5. Run `yarn test-prod` to test in the production environment. It supports the same options as `yarn test`.
8
+6. Format your code with [prettier](https://github.com/prettier/prettier) (`yarn prettier`).
9
+7. Make sure your code lints (`yarn lint`). Tip: `yarn linc` to only check changed files.
10
+8. Run the [Flow](https://flowtype.org/) typechecks (`yarn flow`).
11
+9. If you haven't already, complete the CLA.
12
13
**Learn more about contributing:** https://reactjs.org/docs/how-to-contribute.html