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() }}