File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1- name : Run Automated Tests
1+ name : Test and Lint
22on :
3- issue_comment :
4- types : [created]
3+ push :
4+ branches : [ main ]
5+ pull_request :
6+ branches : [ main ]
57jobs :
6- run_tests :
7- if : |
8- github.event_name == 'issue_comment' &&
9- (github.event.comment.author_association == 'member' || github.event.comment.author_association == 'owner') &&
10- startsWith(github.event.comment.body, '@tests run')
8+ test_and_lint :
119 runs-on : ubuntu-latest
1210 steps :
1311 - uses : actions/checkout@v2
2725 git config --global user.email "github-actions[bot]@users.noreply.github.com"
2826 git config --global user.name "github-actions[bot]"
2927 - run : yarn test
28+ - run : yarn lint
3029 env :
3130 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3231 SLACK_INCOMING_HOOK : ${{ secrets.SLACK_INCOMING_HOOK }}
Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ Next checks whether the image url which loader generates has the exact value whi
170170
171171** Fix:** Ignore the warning for now.
172172
173- [ test-status-img ] : https://github.com/uploadcare/nextjs-loader/actions /workflows/tests-run .yml/badge.svg
173+ [ test-status-img ] : https://github.com/uploadcare/nextjs-loader/.github /workflows/test-and-lint .yml/badge.svg
174174[ npm-img ] : https://img.shields.io/npm/v/@uploadcare/nextjs-loader.svg
175175[ npm-link ] : https://www.npmjs.com/package/@uploadcare/nextjs-loader
176176[ stackblitz-image ] : https://developer.stackblitz.com/img/open_in_stackblitz.svg
You can’t perform that action at this time.
0 commit comments