fix: make scan-unused depend on test to avoid parallel node_modules race
ci/woodpecker/push/woodpecker Pipeline failed Details

Both steps were running in parallel and competing for the same
node_modules directory, causing ENOTEMPTY errors.
This commit is contained in:
Colin 2026-01-23 19:49:38 -05:00
parent 9bc853ed58
commit 83fe4ad161
Signed by: colin
SSH Key Fingerprint: SHA256:nRPCQTeMFLdGytxRQmPVK9VXY3/ePKQ5lGRyJhT5DY8
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ steps:
scan-unused:
name: scan-unused
image: node:22-alpine
depends_on: [ "test" ]
commands:
- echo "nameserver 1.1.1.1" > /etc/resolv.conf
- echo "nameserver 1.0.0.1" >> /etc/resolv.conf