forked from ant-design/ant-design
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from infra-fe/feature-v4.18.5-rollback
doc: create doc about 'how to attribute'
- Loading branch information
Showing
3 changed files
with
56 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# How to contribute | ||
|
||
If you want to contribute code to Infrad, you can follow the process below for your development and submission | ||
|
||
### Process | ||
|
||
1. Check out the development branch from the master branch, for example: `feature-xxxx` | ||
2. Develop under your own branch | ||
3. After development is complete, run the following command in the console | ||
> `$ yarn test-all-develop` | ||
4. If there is no problem, you can pull the latest content of the master branch to prevent your code from not including the latest changes of master, and then submit your code | ||
5. Submit PR (MR) to the master branch on the github site, and fill in according to the PR template (type and changelog lists are required, others are optional) | ||
|
||
### Feedback | ||
|
||
If you still have questions about how to contribute code, feel free to contact us on SeaTalk | ||
|
||
> `taofeng.yang@shopee.com lay.zhang@shopee.com` |
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/sh | ||
|
||
# echo "[TEST ALL] test changlog" | ||
# node ./scripts/check-version-md.js | ||
|
||
echo "[TEST ALL] lint" | ||
npm run lint | ||
|
||
if [ "$1" != "--skip-build" ]; then | ||
echo "[TEST ALL] dist" | ||
npm run dist | ||
|
||
echo "[TEST ALL] compile" | ||
npm run compile | ||
else | ||
echo "Skip build..." | ||
fi | ||
|
||
echo "[TEST ALL] dekko dist" | ||
node ./tests/dekko/dist.test.js | ||
|
||
echo "[TEST ALL] dist test" | ||
LIB_DIR=dist npm test | ||
|
||
echo "[TEST ALL] dekko lib" | ||
|
||
echo "[TEST ALL] test es" | ||
LIB_DIR=es npm test | ||
|
||
echo "[TEST ALL] test lib" | ||
LIB_DIR=lib npm test | ||
|
||
echo "[TEST ALL] test" | ||
npm test | ||
|
||
echo "[TEST ALL] test node" | ||
npm run test-node |