Clear up some issues with npm ci
This commit is contained in:
parent
c2c1870c21
commit
424cdeb586
2 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
|||
"watch": "export HOUDINI_WATCH=1; script/build.sh",
|
||||
"build": "script/build.sh",
|
||||
"build-all": "npm ci && script/compile-assets.sh && npm run build",
|
||||
"ci-build-all": "script/compile-assets.sh && npm run build",
|
||||
"test": "rake -v spec && npm run build && npx jest",
|
||||
"export-button-config": "bundle exec rake settings:generate_json",
|
||||
"export-i18n": "bundle exec rake settings:combine_translations",
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
npm ci --unsafe-perm && rake db:create db:structure:load db:migrate && RAILS_ENV=test rake db:create db:structure:load test:prepare && rake spec && npm run build-all && npx jest
|
||||
npm ci --unsafe-perm && rake db:create db:structure:load db:migrate && RAILS_ENV=test rake db:create db:structure:load test:prepare && rake spec && npm run ci-build-all && npx jest
|
Loading…
Reference in a new issue