29 lines
616 B
YAML
29 lines
616 B
YAML
name: CI
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build-test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Setup PHP
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: '8.4' # Specify your required PHP version
|
|
|
|
- name: Install phing
|
|
run: composer global require phing/phing
|
|
|
|
- name: Run composer
|
|
run: composer install --no-dev --no-scripts -o
|
|
|
|
- name: Build tailwind
|
|
run: php bin/console tailwind:build
|
|
|
|
- name: Compile assets
|
|
run: php bin/console asset-map:compile
|
|
|