ci(bstein-home): run frontend test stage under bash

This commit is contained in:
Brad Stein 2026-04-19 15:01:31 -03:00
parent 4c390426ca
commit 7d7c719fc7

21
Jenkinsfile vendored
View File

@ -262,17 +262,16 @@ PY
stage('Frontend tests') { stage('Frontend tests') {
steps { steps {
container('frontend') { container('frontend') {
sh ''' sh(script: '''#!/usr/bin/env bash
#!/usr/bin/env bash set -euo pipefail
set -euo pipefail mkdir -p build
mkdir -p build cd frontend
cd frontend npm ci
npm ci npm run lint
npm run lint npm run test:unit
npm run test:unit npm run test:component
npm run test:component npm run test:e2e
npm run test:e2e ''')
'''
} }
} }
} }