Skip to content

Commit

Permalink
UHF-9380: Debugging...
Browse files Browse the repository at this point in the history
  • Loading branch information
khalima committed Jan 24, 2024
1 parent 52b6d4b commit e6c0e97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/npm_audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@ jobs:
- name: Check for vulnerabilities
id: npm_audit
continue-on-error: true
run: |
set +e
npm audit --package-lock-only --loglevel=error;
echo "Testing: $?"
# The npm audit command will exit with a 0 exit code if no vulnerabilities were found.
if [ $? -eq 0 ]; then echo "CREATE_PR=false" >> $GITHUB_OUTPUT; else echo "CREATE_PR=true" >> $GITHUB_OUTPUT; fi;
set -e
- name: Debugging the variable
run: echo "The variable is ${{ steps.npm_audit.outputs.CREATE_PR }}"
Expand Down

0 comments on commit e6c0e97

Please sign in to comment.