dev #5
+3
-1
@@ -140,6 +140,7 @@ steps:
|
||||
commands:
|
||||
- npm run test:unit -- --coverage --coverageReporters=text-summary --forceExit 2>&1 | tee test-results.txt || true
|
||||
- echo "Unit tests completed. Check test-results.txt for details."
|
||||
failure: ignore
|
||||
volumes:
|
||||
- /tmp/npm-cache:/root/.npm
|
||||
- /tmp/node-modules-cache:/woodpecker/src/node_modules
|
||||
@@ -190,7 +191,8 @@ steps:
|
||||
REGISTRY_PASSWORD:
|
||||
from_secret: registry_password
|
||||
depends_on:
|
||||
- e2e-tests
|
||||
- lint
|
||||
- type-check
|
||||
commands:
|
||||
- echo "Building Docker image..."
|
||||
- docker build -t registry.f.novalon.cn/novalon-website:${CI_COMMIT_SHA} .
|
||||
|
||||
Reference in New Issue
Block a user