Add building web assets to CI/CD
Some checks failed
Create Docker Image / Test Application (x86_64) (push) Failing after 5s
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 14:17:26 +11:00
parent 27a6d92958
commit 0b8564f85f

View File

@ -46,10 +46,10 @@ jobs:
touch storage/app/test/*ZIP storage/app/test/file/* touch storage/app/test/*ZIP storage/app/test/file/*
XDEBUG_MODE=coverage php vendor/bin/phpunit --coverage-text --colors=never XDEBUG_MODE=coverage php vendor/bin/phpunit --coverage-text --colors=never
# Build assets # Build assets
nmp i nmp i
nmp run prod nmp run prod
echo 'TESTS RUN' > TESTS.RUN echo 'TESTS RUN' > TESTS.RUN
ls -al ls -al
build: build:
strategy: strategy:
@ -101,7 +101,7 @@ jobs:
run: | run: |
echo ${GITHUB_SHA::8} > VERSION echo ${GITHUB_SHA::8} > VERSION
rm -rf .git* tests/ storage/app/test/ rm -rf .git* tests/ storage/app/test/
ls -al ls -al
- name: Build and Push Docker Image - name: Build and Push Docker Image
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5