diff options
author | Justin Wernick <justin@worthe-it.co.za> | 2023-06-04 21:52:16 +0200 |
---|---|---|
committer | Justin Wernick <justin@worthe-it.co.za> | 2023-06-04 21:52:16 +0200 |
commit | c482f056c69d9717dc6f648ab9163703e79f2514 (patch) | |
tree | e4887e15164f68bac55e667515b2314a331c807d /.woodpecker.yml | |
parent | 59c44d99a98f8346419d07a76a8a7a50de00a010 (diff) |
Restructure test order
- Use pretest to run linting
- Run tests before audit in CI
Diffstat (limited to '.woodpecker.yml')
-rw-r--r-- | .woodpecker.yml | 7 |
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 |