File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 33
44# ✍️ Description:
55# This action is used to run eslint checks
6- # Runs on pull requests and pushes to the main/master branches
6+ # Runs on any pull request, and also when pushing to main/master
77# Based on the event type:
88# - If it's a pull request, it will run eslint, then add the check to the PR as well as annotate the code with the errors and warnings.
99# - If it's a push to main/master, it will run the type checking and fail if there are any errors.
1616 push :
1717 branches : [main, master]
1818 pull_request :
19- branches : [main, master ]
19+ types : [opened, synchronize ]
2020
2121jobs :
2222 lint :
Original file line number Diff line number Diff line change 33
44# ✍️ Description:
55# This action is used to run unit tests
6- # Runs on pull requests and pushes to the main/master branches
6+ # Runs on any pull request, and also when pushing to main/master
77# Based on the event type:
88# - If it's a pull request, it will run the tests and post a comment with coverage details.
99# - If it's a push to main/master, it will run the tests and add the check to the commit.
1616 push :
1717 branches : [main, master]
1818 pull_request :
19- branches : [main, master ]
19+ types : [opened, synchronize ]
2020
2121jobs :
2222 test :
Original file line number Diff line number Diff line change 33
44# ✍️ Description:
55# This action is used to run the type-check on the project.
6- # Runs on pull requests and pushes to the main/master branches
6+ # Runs on any pull request, and also when pushing to main/master
77# Based on the event type:
88# - If it's a pull request, it will run type checking, then add the check to the PR as well as annotate the code with the errors using reviewdog.
99# - If it's a push to main/master, it will run the type checking and fail if there are any errors.
1616 push :
1717 branches : [main, master]
1818 pull_request :
19- branches : [main, master ]
19+ types : [opened, synchronize ]
2020
2121jobs :
2222 type-check :
You can’t perform that action at this time.
0 commit comments