Skip to content

Commit

Permalink
Update cve-scanning-node.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Thels committed Nov 21, 2024
1 parent dd6b82b commit 26b75cc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/cve-scanning-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,12 @@ jobs:
shell: bash

- name: Build project with NPM
if: env.run_job == 'true'
run: npm install --omit=dev
working-directory: ${{ matrix.module-folder }}

- name: Depcheck
if: env.run_job == 'true'
uses: dependency-check/Dependency-Check_Action@main
id: Depcheck
with:
Expand All @@ -70,10 +72,11 @@ jobs:
- run: |
echo `echo UPNAME=${{matrix.module-folder}} | tr '/' '-'` >> $GITHUB_ENV
if: env.run_job == 'true'
shell: bash
- name: Upload Test results
if: ${{ always() }}
if: always() && env.run_job == 'true'
uses: actions/upload-artifact@v4
with:
name: Depcheck report ${{ env.UPNAME }}
Expand Down

0 comments on commit 26b75cc

Please sign in to comment.