File tree Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -2,27 +2,17 @@ language: node_js
22node_js : [node, lts/*]
33cache :
44 npm : true
5- before_script :
6- - npm add --global pover
75script :
8- - pover install
9- - pover build:dev
10- - pover build:prod
11- - pover test
6+ - npx pover install
7+ - npx pover build:dev
8+ - npx pover build:prod
9+ - npx pover test
1210jobs :
1311 include :
1412 - stage : Deploy
1513 before_deploy :
1614 - npm run build:prod
17- - export PKG_NAME=$(node -e "console.log(require('./dist/package/production/package').name)")
18- - export PKG_VERSION=$(node -e "console.log(require('./dist/package/production/package').version)")
19- - " [[ -d dist/homepage/$PKG_NAME/$PKG_VERSION ]] && npm run test:coverage && cp -r dist/homepage/$PKG_NAME/$PKG_VERSION page && cp -r dist/jest/coverage/lcov-report page/coverage || true"
20- - mkdir --parents dist/github
21- - cd dist/package/production
22- - zip -9 --recurse-paths ../../github/${PKG_NAME}_v$PKG_VERSION.zip **
23- - zip -9 --recurse-paths ../../github/${PKG_NAME}_v${PKG_VERSION}_min.zip ** --exclude \*.d.ts --exclude readme.* --exclude \*.map
24- - cd ../../..
25- - cp dist/package/production/{*.d.ts,package.json,license.*} dist/github
15+ - npx compile-release
2616 deploy :
2717 - provider : pages
2818 local_dir : page
You can’t perform that action at this time.
0 commit comments