Skip to content

Commit 88ef02b

Browse files
Piotr Limanowskipeelpaulboocock
authored andcommitted
Add Snyk configuration (close snowplow#822)
Co-authored-by: peel <peel@users.noreply.github.com> Co-authored-by: paulboocock <paul@snowplowanalytics.com>
1 parent 438e1dd commit 88ef02b

2 files changed

Lines changed: 2913 additions & 0 deletions

File tree

.github/workflows/snyk.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Snyk
2+
on:
3+
push:
4+
branches: [ master ]
5+
jobs:
6+
security:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Use Node.js 12
11+
uses: actions/setup-node@v1
12+
with:
13+
node-version: 12
14+
15+
- name: Run npm ci on Tracker
16+
run: npm ci
17+
18+
- name: Run npm ci on Core
19+
run: npm ci
20+
working-directory: ./core
21+
22+
- name: Run Snyk to check for vulnerabilities
23+
uses: snyk/actions/node@master
24+
with:
25+
command: monitor
26+
args: --all-projects
27+
env:
28+
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

0 commit comments

Comments
 (0)