Add npm ci to build-all to prevent mistakenly non-updated asset builds - REQUIRES DOCKER IMAGE REBUILD
This commit is contained in:
parent
6da496b736
commit
501b638449
2 changed files with 3 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
|||
"scripts": {
|
||||
"watch": "export HOUDINI_WATCH=1; script/build.sh",
|
||||
"build": "script/build.sh",
|
||||
"build-all": "script/compile-assets.sh && npm run build",
|
||||
"build-all": "npm ci && script/compile-assets.sh && npm run build",
|
||||
"test": "rake spec && npm run build && npx jest",
|
||||
"export-button-config": "bundle exec rake settings:generate_json",
|
||||
"export-i18n": "bundle exec rake settings:combine_translations",
|
||||
|
|
|
@ -4,4 +4,5 @@ set -e
|
|||
curl -sL https://deb.nodesource.com/setup_9.x | bash -
|
||||
echo 'deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main' > /etc/apt/sources.list.d/pgdg.list
|
||||
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
|
||||
apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs postgresql-9.6 default-jre
|
||||
apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs postgresql-9.6 default-jre
|
||||
npm install npm@^6 -g
|
Loading…
Reference in a new issue