mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-14 07:27:47 +00:00
use php 8.3 which is the same as the build file
This commit is contained in:
parent
aed7addfb5
commit
b59e44a9aa
1 changed files with 5 additions and 7 deletions
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
|
|
@ -12,7 +12,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
environment: Testing
|
environment: Testing
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -22,8 +22,7 @@ jobs:
|
||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: 8.4
|
php-version: 8.3
|
||||||
tools: composer:v2
|
|
||||||
coverage: xdebug
|
coverage: xdebug
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
|
|
@ -32,9 +31,6 @@ jobs:
|
||||||
node-version: '22'
|
node-version: '22'
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
- name: Install Node Dependencies
|
|
||||||
run: npm i
|
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: composer install --no-interaction --prefer-dist --optimize-autoloader
|
run: composer install --no-interaction --prefer-dist --optimize-autoloader
|
||||||
|
|
||||||
|
|
@ -45,7 +41,9 @@ jobs:
|
||||||
run: php artisan key:generate
|
run: php artisan key:generate
|
||||||
|
|
||||||
- name: Build Assets
|
- name: Build Assets
|
||||||
run: npm run build
|
run: |
|
||||||
|
npm ci --no-audit
|
||||||
|
run build
|
||||||
|
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: ./vendor/bin/pest --ci --coverage
|
run: ./vendor/bin/pest --ci --coverage
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue