ci(bstein-home): run frontend test stage under bash
This commit is contained in:
parent
6e3beb7e18
commit
dc59f4150c
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@ -262,16 +262,16 @@ PY
|
|||||||
stage('Frontend tests') {
|
stage('Frontend tests') {
|
||||||
steps {
|
steps {
|
||||||
container('frontend') {
|
container('frontend') {
|
||||||
sh '''
|
sh(script: '''#!/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
|
||||||
'''
|
''')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user