Skip to content

Commit 49e2fb5

Browse files
mxstbrgaearon
authored andcommitted
Test local commands
1 parent ee91202 commit 49e2fb5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tasks/e2e.sh

+10
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ scripts_path=$PWD/`npm pack`
3333
# lint
3434
./node_modules/.bin/eslint --ignore-path .gitignore ./
3535

36+
# Test local start command
37+
npm start -- --smoke-test
38+
39+
# Test local build command
40+
npm run build
41+
42+
# Check for expected output
43+
test -e build/*.html || exit 1
44+
test -e build/*.js || exit 1
45+
3646
# Pack CLI
3747
cd global-cli
3848
npm install

0 commit comments

Comments
 (0)