• Robert Knight's avatar
    Only build client before publishing, not when running `yarn install` · 54ed311c
    Robert Knight authored
    Change the behavior where a production build of the client was triggered
    whenever `yarn install` was run. Instead only create a prod build when
    bumping the version or before publishing.
    
    This mostly makes local development more convenient as it avoids
    unnecessarily rebuilding the client after installing dependencies. It
    will also speed up Travis builds slightly as Travis always runs `yarn install`.
    
    Some Jenkins builds will be a little faster. Jenkins runs `make test`
    directly, which only runs `yarn install` if dependencies have changed
    since the last build. We may decide in future that Jenkins builds should always
    do a prod build as part of the testing process. Currently the prod build
    happens as part of the QA release step.
    
    This commit also changes the version and publishing lifecycle scripts to
    run the same commands. Previously they ran different commands without an
    obvious reason for doing so.
    54ed311c
Name
Last commit
Last update
.github Loading commit data...
docs Loading commit data...
embedding-examples Loading commit data...
images Loading commit data...
scripts Loading commit data...
src Loading commit data...
.babelrc Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.npmrc Loading commit data...
.prettierignore Loading commit data...
.prettierrc Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT Loading commit data...
Jenkinsfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
gulpfile.js Loading commit data...
package.json Loading commit data...
requirements-dev.in Loading commit data...
tox.ini Loading commit data...
yarn.lock Loading commit data...