Add npm to Travis-CI setup to generate assets and mix-manifest during build

This commit is contained in:
Bubka 2020-03-05 22:08:47 +01:00
parent 20970606a3
commit f0e3644d56

View File

@ -8,6 +8,10 @@ before_script:
- composer self-update
- composer install --no-interaction
- php artisan key:generate
- nvm install node
- npm install npm@latest -g
- npm install
script:
- vendor/bin/phpunit
- npm run dev
- vendor/bin/phpunit