mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-08-25 15:01:16 +02:00
Run npm builds in Travis tests
This commit is contained in:
@@ -14,11 +14,15 @@ jobs:
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.composer/cache
|
||||
- $HOME/.npm
|
||||
- app/vendor
|
||||
|
||||
install: composer install
|
||||
install:
|
||||
- composer install
|
||||
- npm ci
|
||||
|
||||
script:
|
||||
- app/vendor/bin/php-cs-fixer fix --diff --dry-run
|
||||
- app/vendor/bin/psalm --show-info=true
|
||||
- app/vendor/bin/phpunit --coverage-text
|
||||
- npm run production
|
||||
|
Reference in New Issue
Block a user