summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2023-06-04 21:28:33 +0200
committerJustin Wernick <justin@worthe-it.co.za>2023-06-04 21:28:33 +0200
commitbd89d2ea5bead54d504f3e9aec2a7c0ef4af7743 (patch)
tree3ceb728a6322ee4ab0b8d2ce51c525442f0823f4
parent78ebcc691e573b12ae4395b15eaaa7f9c7566e2b (diff)
Install deps before running audit
-rw-r--r--.woodpecker.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.woodpecker.yml b/.woodpecker.yml
index 89271f9..045171d 100644
--- a/.woodpecker.yml
+++ b/.woodpecker.yml
@@ -1,4 +1,8 @@
pipeline:
+ install:
+ image: node:lts
+ commands:
+ - npm install
audit:
image: node:lts
commands:
@@ -6,5 +10,4 @@ pipeline:
test:
image: node:lts
commands:
- - npm install
- npm test