summaryrefslogtreecommitdiff
path: root/.woodpecker.yml
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2023-06-04 21:52:16 +0200
committerJustin Wernick <justin@worthe-it.co.za>2023-06-04 21:52:16 +0200
commitc482f056c69d9717dc6f648ab9163703e79f2514 (patch)
treee4887e15164f68bac55e667515b2314a331c807d /.woodpecker.yml
parent59c44d99a98f8346419d07a76a8a7a50de00a010 (diff)
Restructure test order
- Use pretest to run linting - Run tests before audit in CI
Diffstat (limited to '.woodpecker.yml')
-rw-r--r--.woodpecker.yml7
1 files changed, 2 insertions, 5 deletions
diff --git a/.woodpecker.yml b/.woodpecker.yml
index 045171d..c8cc222 100644
--- a/.woodpecker.yml
+++ b/.woodpecker.yml
@@ -1,13 +1,10 @@
pipeline:
- install:
+ test:
image: node:lts
commands:
- npm install
+ - npm test
audit:
image: node:lts
commands:
- npm audit
- test:
- image: node:lts
- commands:
- - npm test