From 73a6e0faf3f84733f149e57ddc16a87d5510dc8a Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Fri, 2 Aug 2024 11:11:33 +0300 Subject: [PATCH] Update pr-checker.yml --- .github/workflows/pr-checker.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pr-checker.yml b/.github/workflows/pr-checker.yml index e28f42d4f..ec6d79ece 100644 --- a/.github/workflows/pr-checker.yml +++ b/.github/workflows/pr-checker.yml @@ -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() }}