Skip to content

Commit 919a61e

Browse files
authored
Merge pull request #4 from nha/feature/snyk
feat: add snyk vulnerabilities monitoring
2 parents dda03f2 + 0314212 commit 919a61e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

circle.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
machine:
22
java:
33
version: oraclejdk8
4+
node:
5+
version: 0.10.22
46
environment:
57
BOOT_VERSION: 2.6.0
68
_JAVA_OPTIONS: "-Xms512m -Xmx1024m"
@@ -11,10 +13,13 @@ dependencies:
1113
pre:
1214
- curl -L https://github.com/boot-clj/boot-bin/releases/download/latest/boot.sh -o ~/bin/boot
1315
- chmod +x ~/bin/boot
16+
- npm install -g snyk
17+
- snyk auth ${SNYK_AUTH}
1418
override:
1519
# Run tests in dependency step to cache the deps
16-
- boot test
20+
- boot test pom target
1721
- bash <(curl -s https://codecov.io/bash)
22+
- snyk test --file=target/META-INF/maven/nha/boot-uglify/pom.xml
1823
test:
1924
override:
2025
- echo 1

0 commit comments

Comments
 (0)