-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into outputFile_use_stream
- Loading branch information
Showing
807 changed files
with
20,227 additions
and
9,582 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,23 +23,23 @@ aliases: | |
- &deploy | ||
command: | | ||
# Deploy Jest website | ||
git config --global user.email "jest[email protected]" | ||
# Deploy Jest website using Docusaurus bot | ||
git config --global user.email "docusaurus[email protected]" | ||
git config --global user.name "Website Deployment Script" | ||
echo "machine github.com login jest-bot password $GITHUB_TOKEN" > ~/.netrc | ||
echo "machine github.com login docusaurus-bot password $DOCUSAURUS_PUBLISH_TOKEN" > ~/.netrc | ||
# install Docusaurus and generate file of English strings | ||
cd website && yarn && yarn run write-translations | ||
yarn && cd website && yarn run write-translations | ||
# crowdin install | ||
sudo apt-get update | ||
sudo apt-get install default-jre | ||
sudo apt-get install default-jre rsync | ||
wget https://artifacts.crowdin.com/repo/deb/crowdin.deb -O crowdin.deb | ||
sudo dpkg -i crowdin.deb | ||
sleep 5 | ||
# translations upload/download | ||
yarn run crowdin-upload | ||
yarn run crowdin-download | ||
# build and publish website | ||
GIT_USER=jest-bot yarn run publish-gh-pages | ||
GIT_USER=docusaurus-bot USE_SSH=false yarn run publish-gh-pages | ||
version: 2 | ||
jobs: | ||
|
@@ -50,10 +50,23 @@ jobs: | |
steps: | ||
- checkout | ||
- restore-cache: *restore-cache | ||
- run: | | ||
apt-get update && apt-get install make g++ -y | ||
- *yarn-install-no-sudo | ||
- save-cache: *save-cache | ||
- run: yarn run test-ci-es5-build-in-browser | ||
|
||
test-node-9: | ||
working_directory: ~/jest | ||
docker: | ||
- image: circleci/node:9 | ||
steps: | ||
- checkout | ||
- restore-cache: *restore-cache | ||
- run: yarn --no-progress | ||
- save-cache: *save-cache | ||
- run: yarn run test-ci-partial | ||
|
||
test-node-8: | ||
working_directory: ~/jest | ||
docker: | ||
|
@@ -63,7 +76,7 @@ jobs: | |
- restore-cache: *restore-cache | ||
- run: yarn --no-progress | ||
- save-cache: *save-cache | ||
- run: yarn run test-ci-partial | ||
- run: yarn run test-ci | ||
|
||
test-node-6: | ||
working_directory: ~/jest | ||
|
@@ -74,7 +87,7 @@ jobs: | |
- restore-cache: *restore-cache | ||
- *yarn-install | ||
- save-cache: *save-cache | ||
- run: yarn run test-ci | ||
- run: yarn run test-ci-partial | ||
|
||
test-and-deploy-website: | ||
working_directory: ~/jest | ||
|
@@ -83,9 +96,7 @@ jobs: | |
steps: | ||
- checkout | ||
- restore-cache: *restore-cache | ||
- run: | | ||
cd website | ||
yarn --no-progress | ||
- run: yarn --no-progress | ||
- save-cache: *save-cache | ||
- deploy: *deploy | ||
|
||
|
@@ -96,5 +107,6 @@ workflows: | |
jobs: | ||
- test-node-8 | ||
- test-node-6 | ||
- test-node-9 | ||
- test-browser | ||
- test-and-deploy-website |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. The two fields below are mandatory. --> | ||
|
||
<!-- Please remember to update CHANGELOG.md in the root of the project if you have not done so. --> | ||
|
||
**Summary** | ||
## Summary | ||
|
||
<!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? --> | ||
|
||
**Test plan** | ||
## Test plan | ||
|
||
<!-- Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Please note this issue tracker is not a help forum. We recommend using | ||
[StackOverflow](https://stackoverflow.com/questions/tagged/jest) or our | ||
[discord channel](http://facebook.github.io/jest/en/help.html) for questions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.