Skip to content

Commit e9656d1

Browse files
run Snyk scan for widget
1 parent bd7e692 commit e9656d1

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/snyk.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
18-
- name: Run Snyk to check for vulnerabilities
18+
- name: Run Snyk (Gradle)
1919
uses: snyk/actions/gradle@b98d498629f1c368650224d6d212bf7dfa89e4bf # 0.4.0
2020
env:
2121
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
@@ -25,3 +25,15 @@ jobs:
2525
with:
2626
command: ${{ inputs.command }}
2727
args: --project-name="gradle${{ inputs.suffix }}" --file=module/build.gradle
28+
node:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
32+
- name: Run Snyk (Node)
33+
uses: snyk/actions/node@b98d498629f1c368650224d6d212bf7dfa89e4bf # 0.4.0
34+
env:
35+
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
with:
38+
command: ${{ inputs.command }}
39+
args: --project-name="node${{ inputs.suffix }}" --file=widget/package.json

0 commit comments

Comments
 (0)