Skip to content

Commit a93178d

Browse files
author
runzexia
committed
use npm registry
1 parent 5789504 commit a93178d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ pipeline {
2424
stage('get dependencies') {
2525
steps {
2626
container('nodejs') {
27-
sh 'yarn'
27+
sh 'yarn config set registry 'https://registry.npm.taobao.org'
28+
sh 'yarn install --no-lockfile'
2829
}
2930

3031
}

0 commit comments

Comments
 (0)