From d346eccc95dfb5c4a159002df6293fdce2e899fc Mon Sep 17 00:00:00 2001 From: ArrayIterator Date: Wed, 16 Oct 2024 16:10:20 +0700 Subject: [PATCH] add badge --- .github/workflows/continues-integration.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/continues-integration.yml b/.github/workflows/continues-integration.yml index ed1b04e..b9d32ca 100644 --- a/.github/workflows/continues-integration.yml +++ b/.github/workflows/continues-integration.yml @@ -15,7 +15,18 @@ permissions: contents: read jobs: + scan-pr: # scan-pr + uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v1.9.0 + with: + scan-args: |- + --recursive + --skip-git=true + --lockfile pnpm-lock.yaml + ./ + test: # test + needs: scan-pr + if: success() runs-on: ubuntu-latest steps: - name: Checkout repository @@ -37,13 +48,3 @@ jobs: - name: Run tests run: npm run test working-directory: ${{ github.workspace }} - - scan-pr: # scan-pr - uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v1.9.0 - needs: test - with: - scan-args: |- - --recursive - --skip-git=true - --lockfile pnpm-lock.yaml - ./