Skip to content

Commit

Permalink
feat: update pnpm audit
Browse files Browse the repository at this point in the history
  • Loading branch information
khoilen committed Dec 16, 2024
1 parent b8a0991 commit 8fcef70
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ jobs:
npm install --audit --prefer-offline
npm audit --json > npm-audit-report.json || true
cat npm-audit-report.json
elif [ -f "pnpm-lock.yaml" ]; then
echo "Detected pnpm project. Running pnpm audit..."
npm install -g pnpm
pnpm install --frozen-lockfile
pnpm audit --json > pnpm-audit-report.json || true
cat pnpm-audit-report.json
elif [ -f "yarn.lock" ]; then
echo "Detected Yarn project. Running yarn audit..."
yarn install --prefer-offline
Expand Down

0 comments on commit 8fcef70

Please sign in to comment.