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 bd95dcf commit 6d61b30
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/npm_audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,14 @@ jobs:
- name: Check for vulnerabilities
id: npm_audit
continue-on-error: true
run: |
set +e
npm audit --package-lock-only --loglevel=error;
# The npm audit command will exit with a 0 exit code if no vulnerabilities were found.
if [ $? -eq 0 ]; then create_pr=true; else create_pr=false; fi;
echo "should_create_pr=${create_pr}" >> $GITHUB_ENV
set -e
echo "should_create_pr=${create_pr}" >> $GITHUB_OUTPUT
- name: Run npm audit fix
if: steps.npm_audit.outputs.should_create_pr == 'true'
Expand Down

0 comments on commit 6d61b30

Please sign in to comment.