Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
ci-cd.yml audit jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
UM100080 authored and UM100080 committed Oct 18, 2023
1 parent 9b29827 commit 70dbe9b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,20 @@ jobs:
if: matrix.theme == 'fusion'
- name: Run WDIO Tests for form factor ${{ matrix.form-factor }} and ${{ matrix.theme }}
run: SITE=build/${{ matrix.theme }} FORM_FACTOR=${{ matrix.form-factor }} npm run wdio-${{ matrix.theme }}
NPM_Audit:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies and run npm audit
run: |
npm i --package-lock-only
npm audit --json > audit.json || true
if [ -s audit.json ]; then
echo 'NPM audit vulnerabilities found:'
cat audit.json
fi
release-and-deploy:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 70dbe9b

Please sign in to comment.