-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c86a091
commit d346ecc
Showing
1 changed file
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,18 @@ permissions: | |
contents: read | ||
|
||
jobs: | ||
scan-pr: # scan-pr | ||
uses: google/osv-scanner-action/.github/workflows/[email protected] | ||
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/[email protected] | ||
needs: test | ||
with: | ||
scan-args: |- | ||
--recursive | ||
--skip-git=true | ||
--lockfile pnpm-lock.yaml | ||
./ |