use php 8.3 which is the same as the build file

This commit is contained in:
Alex Justesen 2025-03-27 21:20:50 -04:00
parent 5587ca81d1
commit 2108f65ebd

View file

@ -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