From 6e81cd9ada5b27e90ade82de4c8c760bc85cc986 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Tue, 10 Sep 2024 13:17:30 -0700 Subject: [PATCH] ci: use npm run run to iterate over all projects (#5499) --- .github/workflows/audit-bulk.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/audit-bulk.yaml b/.github/workflows/audit-bulk.yaml index 7f4a2b40791..8b8c45f99b0 100644 --- a/.github/workflows/audit-bulk.yaml +++ b/.github/workflows/audit-bulk.yaml @@ -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 }}