fix: make scan-unused depend on test to avoid parallel node_modules race
ci/woodpecker/push/woodpecker Pipeline failed
Details
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:
parent
9bc853ed58
commit
83fe4ad161
|
|
@ -30,6 +30,7 @@ steps:
|
||||||
scan-unused:
|
scan-unused:
|
||||||
name: scan-unused
|
name: scan-unused
|
||||||
image: node:22-alpine
|
image: node:22-alpine
|
||||||
|
depends_on: [ "test" ]
|
||||||
commands:
|
commands:
|
||||||
- echo "nameserver 1.1.1.1" > /etc/resolv.conf
|
- echo "nameserver 1.1.1.1" > /etc/resolv.conf
|
||||||
- echo "nameserver 1.0.0.1" >> /etc/resolv.conf
|
- echo "nameserver 1.0.0.1" >> /etc/resolv.conf
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue