Add building web assets to CI/CD
Some checks failed
Create Docker Image / Test Application (x86_64) (push) Failing after 15s
Create Docker Image / Build Docker Image (arm64) (push) Has been skipped
Create Docker Image / Build Docker Image (x86_64) (push) Has been skipped
Create Docker Image / Final Docker Image Manifest (push) Has been skipped

This commit is contained in:
Deon George 2025-01-03 15:38:07 +11:00
parent 8326416d90
commit 00a4325c7c

View File

@ -39,11 +39,11 @@ jobs:
if [ -n "${{ secrets.COMPOSER_GITHUB_TOKEN }}" ]; then composer config github-oauth.github.com ${{ secrets.COMPOSER_GITHUB_TOKEN }}; fi
composer install
# Generate an application key. Re-cache.
php artisan key:generate
# php artisan key:generate
# php artisan migrate
# php artisan db:seed
# run laravel tests
XDEBUG_MODE=coverage php vendor/bin/phpunit --coverage-text --colors=never
# XDEBUG_MODE=coverage php vendor/bin/phpunit --coverage-text --colors=never
# Build assets
nmp i
nmp run prod