Update pr-checker.yml

pull/6176/head
tugcekucukoglu 2024-08-02 11:11:33 +03:00
parent 1287131021
commit 73a6e0faf3
1 changed files with 10 additions and 10 deletions

View File

@ -42,10 +42,10 @@ jobs:
run: |
pnpm run format:check
# - name: Unit Test
# id: unitTest
# run: |
# pnpm run test:unit
- name: Unit Test
id: unitTest
run: |
pnpm run test:unit
- name: Lint
run: |
@ -62,12 +62,12 @@ jobs:
message: |
Thanks a lot for your contribution! But, PR does not seem to fit our code format standards. Please run the 'npm run format' command and commit the changes.
# - name: Add Unit Test Fail Comment
# if: always() && steps.unitTest.outcome == 'failure'
# uses: thollander/actions-comment-pull-request@v1
# with:
# message: |
# Thanks a lot for your contribution! But, Unit tests failed. You can check the unit tests with the command 'npm run test:unit' and commit the changes.
- name: Add Unit Test Fail Comment
if: always() && steps.unitTest.outcome == 'failure'
uses: thollander/actions-comment-pull-request@v1
with:
message: |
Thanks a lot for your contribution! But, Unit tests failed. You can check the unit tests with the command 'npm run test:unit' and commit the changes.
- name: Add Label
if: ${{ failure() }}