styling(app): icon and title #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Continuous Integration - Website | |
on: ['push', 'pull_request'] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.1 | |
tools: composer:v2 | |
coverage: xdebug | |
- name: Copy .env | |
run: php -r "file_exists('.env') || copy('.env.workflow.tests', '.env');" | |
- name: Update Composer | |
run: | | |
composer self-update | |
composer update | |
- name: Install Dependencies | |
run: | | |
composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist --optimize-autoloader | |
sudo apt-get install -y sqlite3 | |
npm install | |
npm run build | |
- name: Generate key | |
run: php artisan key:generate | |
- name: Directory Permissions | |
run: chmod -R 777 storage bootstrap/cache | |
- name: Create Database | |
env: # just documentation, are not used | |
DB_CONNECTION: sqlite | |
DB_DATABASE: database.sqlite | |
run: | | |
mkdir -p database | |
touch database/database.sqlite | |
- name: Execute tests | |
run: ./vendor/bin/pest |