Skip to content

Commit 900270d

Browse files
committed
fix build and test
1 parent b01d946 commit 900270d

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
"tslint": "tslint -c tslint.json 'src/**/*.ts'",
1616
"stylelint": "stylelint 'src/**/*.scss' --config stylelint-config.json --syntax scss",
1717
"check-circular-deps": "madge --circular ./dist",
18-
"e2e": "protractor",
19-
"inline-resources": "",
18+
"e2e": "protractor test/protractor.conf.js",
2019
"deploy": "firebase deploy",
2120
"webdriver-manager": "webdriver-manager"
2221
},

scripts/ci/build-and-test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ if is_lint; then
1919
npm run stylelint
2020
elif is_circular_deps_check; then
2121
# Build first because madge needs the JavaScript output.
22-
ng build
22+
$(npm bin)/gulp build
2323
npm run check-circular-deps
2424
elif is_e2e; then
2525
# Start up the e2e app. This will take some time.
2626
echo "Starting e2e app"
27-
MD_APP=e2e ng serve &
27+
$(npm bin)/gulp serve:e2eapp &
2828
sleep 1
2929

3030
# Wait until the dist/ directory is created, indicating that the e2e app is ready.
@@ -40,7 +40,7 @@ elif is_e2e; then
4040

4141
# Run the e2e tests on the served e2e app.
4242
echo "Starting e2e tests"
43-
ng e2e
43+
npm run e2e
4444
elif is_extract_metadata; then
4545
# Run `tsc` first so that the directory structure in dist/ matches what ngc expects.
4646
./node_modules/.bin/tsc -p ./src/lib/

0 commit comments

Comments
 (0)