forked from argos-ci/argos-cypress
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(contributing): add test and lint command
- Loading branch information
Showing
1 changed file
with
8 additions
and
3 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 |
---|---|---|
|
@@ -27,10 +27,15 @@ When adding new features or modifying existing code, please attempt to include t | |
You should push your local changes to your forked GitHub repository and then open a pull request from your repo to the `argos-ci/argos-cypress` repository. | ||
|
||
1. Fork the argos repository on Github | ||
2. Clone your fork to your local machine: `git clone --depth 1 [email protected]:<yourname>/argos-cypress.git` | ||
2. Clone your fork to your local machine: `git clone --depth 1 [email protected]:<your-login>/argos-cypress.git` | ||
3. Create a branch: `git checkout -b my-topic-branch` | ||
4. Make your changes, lint, then push to github with: `git push --set-upstream origin my-topic-branch` | ||
5. Visit github and make your pull request. | ||
4. Make your changes | ||
5. Run the tests: `npm run test` | ||
6. Format and lint the code: `npm run format && npm run lint` | ||
7. Push your branch to github: `git push --set-upstream origin my-topic-branch` | ||
8. Visit github and make your pull request. | ||
|
||
### Update local repository | ||
|
||
If you have an existing local repository, please update it before you start to minimize the chance of merge conflicts. | ||
|
||
|