We use npm ci only during build test

This commit is contained in:
Eric Schultz 2018-10-26 11:13:19 -05:00 committed by Luis Castro
parent 7a6e38daf2
commit bb97427a40
No known key found for this signature in database
GPG key ID: 0A8F33D4C4E27639

View file

@ -1,2 +1,2 @@
#!/bin/bash #!/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 ci-build-all && npx jest npm ci && 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