From 08ca0efea9ef05c531c2337e999154e1bd2667ab Mon Sep 17 00:00:00 2001 From: Vishvamsinh Vaghela <90895835+vishvamsinh28@users.noreply.github.com> Date: Fri, 22 Nov 2024 12:28:34 +0530 Subject: [PATCH] Update if-nodejs-pr-testing.yml --- .github/workflows/if-nodejs-pr-testing.yml | 44 ---------------------- 1 file changed, 44 deletions(-) diff --git a/.github/workflows/if-nodejs-pr-testing.yml b/.github/workflows/if-nodejs-pr-testing.yml index d5489e7ab8f2..651421401c1e 100644 --- a/.github/workflows/if-nodejs-pr-testing.yml +++ b/.github/workflows/if-nodejs-pr-testing.yml @@ -79,47 +79,3 @@ jobs: name: Run release assets generation to make sure PR does not break it shell: bash run: npm run generate:assets --if-present - - # Run the test:md script and capture output - - if: ${{ steps.packagejson.outputs.exists == 'true' && matrix.os == 'ubuntu-latest' }} - name: Run markdown checks - id: markdown_check - run: | - ERRORS=$(npm run test:md | sed -n '/Errors in file/,$p') - echo "markdown_output<> $GITHUB_OUTPUT - echo "$ERRORS" >> $GITHUB_OUTPUT - echo "EOF" >> $GITHUB_OUTPUT - - # Post a comment using sticky-pull-request-comment - - name: Comment on PR with markdown issues - if: ${{ steps.markdown_check.outputs.markdown_output != '' && matrix.os == 'ubuntu-latest' }} - uses: marocchino/sticky-pull-request-comment@3d60a5b2dae89d44e0c6ddc69dd7536aec2071cd - with: - header: markdown-check-error - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - message: | - ### Markdown Check Results - - We found issues in the following markdown files: - - ``` - ${{ steps.markdown_check.outputs.markdown_output }} - ``` - - # Delete the comment if there are no issues - - if: ${{ steps.markdown_check.outputs.markdown_output == '' && matrix.os == 'ubuntu-latest' }} - name: Delete markdown check comment - uses: marocchino/sticky-pull-request-comment@3d60a5b2dae89d44e0c6ddc69dd7536aec2071cd - with: - header: markdown-check-error - delete: true - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - - - if: steps.packagejson.outputs.exists == 'true' - name: Upload Coverage to Codecov - uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 - with: - fail_ci_if_error: true - files: ./coverage/lcov.info - token: ${{ secrets.CODECOV_TOKEN }} - verbose: true