ci(bstein-home): run frontend test stage under bash
This commit is contained in:
parent
4c390426ca
commit
7d7c719fc7
21
Jenkinsfile
vendored
21
Jenkinsfile
vendored
@ -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
|
''')
|
||||||
'''
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user