Skip to content

Commit 88f53b4

Browse files
committed
Moved audit to node v10 pipeline and updated package-lock.json.
JIRA: BG-18745
1 parent e8ddf11 commit 88f53b4

File tree

2 files changed

+147
-243
lines changed

2 files changed

+147
-243
lines changed

.drone.jsonnet

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ local step(
5757
[
5858
pipeline(
5959
kind = "pipeline",
60-
name = "check requisites (node:10)",
60+
name = "checks (node:10)",
6161
steps = [
6262
step(
6363
name = "build information",
@@ -75,13 +75,6 @@ local step(
7575
"npm install",
7676
],
7777
),
78-
step(
79-
name = "audit",
80-
image = "node:10",
81-
commands = [
82-
"npm audit",
83-
],
84-
),
8578
step(
8679
name = "lint",
8780
image = "node:10",
@@ -172,6 +165,14 @@ local step(
172165
MONGO_URI: "mongodb://mongo:27017/key-recovery-service-test",
173166
},
174167
),
168+
step(
169+
name = "audit",
170+
image = "node:10",
171+
failure = true,
172+
commands = [
173+
"npm audit",
174+
],
175+
),
175176
],
176177
trigger = {
177178
branch: {
@@ -186,6 +187,5 @@ local step(
186187
image: "mongo:3.4",
187188
},
188189
]
189-
)
190-
190+
),
191191
]

0 commit comments

Comments
 (0)