Skip to content

Commit 3ac26db

Browse files
Move Snyk scan back to test workflow
Snyk requires all npm dependencies to be installed.
1 parent b4b2df7 commit 3ac26db

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.github/workflows/security-scan.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,3 @@ jobs:
3434

3535
- name: Perform CodeQL Analysis
3636
uses: github/codeql-action/analyze@v1
37-
38-
- name: Setup Snyk
39-
uses: snyk/actions/setup@master
40-
id: snyk
41-
with:
42-
snyk-version: latest
43-
44-
- name: Snyk version
45-
run: echo "${{ steps.snyk.outputs.version }}"
46-
47-
- name: Run Snyk to check for vulnerabilities
48-
if: ${{ github.actor != 'dependabot[bot]' }}
49-
uses: snyk/actions/node@master
50-
env:
51-
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

.github/workflows/tests.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,18 @@ jobs:
4141
uses: codecov/codecov-action@v2.1.0
4242
with:
4343
fail_ci_if_error: true
44+
45+
- name: Setup Snyk
46+
uses: snyk/actions/setup@master
47+
id: snyk
48+
with:
49+
snyk-version: latest
50+
51+
- name: Snyk version
52+
run: echo "${{ steps.snyk.outputs.version }}"
53+
54+
- name: Run Snyk to check for vulnerabilities
55+
if: ${{ github.actor != 'dependabot[bot]' }}
56+
uses: snyk/actions/node@master
57+
env:
58+
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

0 commit comments

Comments
 (0)