tiktok-sparo/build-tests/sparo-real-repo-test
2024-10-23 13:49:22 -07:00
..
config feat: build test for a real repo 2024-03-11 14:51:56 -07:00
etc chore: resolve comments 2024-04-29 20:32:16 +08:00
src chore: fix test 2024-10-23 13:49:22 -07:00
.eslintrc.js feat: build test for a real repo 2024-03-11 14:51:56 -07:00
LICENSE feat: build test for a real repo 2024-03-11 14:51:56 -07:00
package.json Improve project descriptions 2024-03-12 14:26:17 -07:00
README.md chore: switch to sparo build-test branch 2024-03-11 14:51:56 -07:00
tsconfig.json feat: build test for a real repo 2024-03-11 14:51:56 -07:00

sparo-real-repo-test

Building this project tests sparo command outputs with a real GitHub repo, which is the "build-test" branch of "sparo" itself.

Details

lib/start-test.js is run after building the project. This scripts generate the output text files under temp/etc. In local builds, those files are copied to etc folder. During a CI build, the files under these two folders are compared and the CI build fails if they are different. This ensures that files under etc folder must be up to date in the PR, and people who review the PR must approve any changes.

How to fix the build errors

Run rush build -t sparo-real-repo-test to regenerate files under etc folder and commit them into Git.