Update pr-checker.yml
parent
1287131021
commit
73a6e0faf3
|
@ -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() }}
|
||||
|
|
Loading…
Reference in New Issue