Skip to content

Commit

Permalink
update output
Browse files Browse the repository at this point in the history
  • Loading branch information
anshgoyalevil committed Oct 18, 2024
1 parent 6b881a8 commit c676e3d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/if-nodejs-pr-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,10 @@ jobs:
name: Run markdown checks
id: markdown_check
run: |
ERRORS="$(npm run test:md)"
echo "markdown_output<<EOF"
$ERRORS
echo EOF
>> "$GITHUB_OUTPUT"
ERRORS=$(npm run test:md | sed -n '/Errors in file/,$p')
echo "markdown_output<<EOF" >> $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
Expand Down

0 comments on commit c676e3d

Please sign in to comment.