mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
move package step in script
This commit is contained in:
@@ -47,7 +47,7 @@ jobs:
|
|||||||
(./scripts/start.sh -dev -t -ss -vjsapi alpha || exit 1;);
|
(./scripts/start.sh -dev -t -ss -vjsapi alpha || exit 1;);
|
||||||
fi
|
fi
|
||||||
- stage: Packaging test
|
- stage: Packaging test
|
||||||
script: npm run build-lib; node ./scripts/upload-build-lib-in-cs.js -u $E2E_USERNAME -p $E2E_PASSWORD --host $E2E_HOST -f $TRAVIS_BUILD_NUMBER
|
script: ./scripts/packaging-test.sh
|
||||||
- stage: Update children projects dependency #Update generator-ng2-alfresco-app
|
- stage: Update children projects dependency #Update generator-ng2-alfresco-app
|
||||||
if: tag =~ .*beta.*
|
if: tag =~ .*beta.*
|
||||||
script: ./scripts/update-project.sh -gnu -t $GITHUB_TOKEN -n generator-ng2-alfresco-app
|
script: ./scripts/update-project.sh -gnu -t $GITHUB_TOKEN -n generator-ng2-alfresco-app
|
||||||
@@ -120,5 +120,3 @@ after_success:
|
|||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- node_modules
|
- node_modules
|
||||||
- lib/dist
|
|
||||||
- demo-shell/dist
|
|
||||||
|
9
scripts/packaging-test.sh
Executable file
9
scripts/packaging-test.sh
Executable file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
echo "====== Build lib ====="
|
||||||
|
|
||||||
|
npm run build-lib
|
||||||
|
|
||||||
|
echo "====== Upload lib ====="
|
||||||
|
|
||||||
|
node ./scripts/upload-build-lib-in-cs.js -u $E2E_USERNAME -p $E2E_PASSWORD --host $E2E_HOST -f $TRAVIS_BUILD_NUMBER
|
Reference in New Issue
Block a user