mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-10 19:06:34 +03:00
Not run extra prod build on simple CI run
This commit is contained in:
parent
4066362ab9
commit
74d384086f
|
@ -31,8 +31,6 @@ before_script:
|
||||||
- sleep 3 # give server time to start
|
- sleep 3 # give server time to start
|
||||||
after_script:
|
after_script:
|
||||||
- kill %1 # kill e2e server
|
- kill %1 # kill e2e server
|
||||||
before_deploy:
|
|
||||||
- npm run build-dist
|
|
||||||
deploy:
|
deploy:
|
||||||
- provider: npm
|
- provider: npm
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
"main": "dist/redoc.min.js",
|
"main": "dist/redoc.min.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "npm run lint && node ./build/run_tests.js",
|
"test": "npm run lint && node ./build/run_tests.js",
|
||||||
|
"prepublish": "npm run build:prod",
|
||||||
"branch-release": "git reset --hard && branch-release",
|
"branch-release": "git reset --hard && branch-release",
|
||||||
"lint": "tslint -e \"lib/**/*{ngfactory|css.shim}.ts\" lib/**/*.ts",
|
"lint": "tslint -e \"lib/**/*{ngfactory|css.shim}.ts\" lib/**/*.ts",
|
||||||
"unit": "npm run build:sass && karma start",
|
"unit": "npm run build:sass && karma start",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user