Skip to content

Commit

Permalink
ci: use npm run run to iterate over all projects (#5499)
Browse files Browse the repository at this point in the history
  • Loading branch information
chingor13 authored Sep 10, 2024
1 parent 713375a commit 6e81cd9
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/audit-bulk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,8 @@ jobs:
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version: 18
- run: |
# for each package-lock.json, run npm audit fix
for `find packages -type d -name node_modules -prune -o -name package-lock.json -print | grep -v test`
do
# ignore failures and continue
npm audit fix || true
done
- run: npm run run -- npm audit fix
continue-on-error: true
- uses: googleapis/code-suggester@9c92ffb751cbdc880473aa650013b3a3292f743a # v4
env:
ACCESS_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }}
Expand Down

0 comments on commit 6e81cd9

Please sign in to comment.