From b59e44a9aa32e9d4a098e6d42eb514ca6358b2d7 Mon Sep 17 00:00:00 2001 From: Alex Justesen Date: Thu, 27 Mar 2025 21:20:50 -0400 Subject: [PATCH] use php 8.3 which is the same as the build file --- .github/workflows/test.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cbb9253..b3eaa3d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ on: jobs: ci: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 environment: Testing steps: @@ -22,8 +22,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: 8.4 - tools: composer:v2 + php-version: 8.3 coverage: xdebug - name: Setup Node @@ -32,9 +31,6 @@ jobs: node-version: '22' cache: 'npm' - - name: Install Node Dependencies - run: npm i - - name: Install Dependencies run: composer install --no-interaction --prefer-dist --optimize-autoloader @@ -45,7 +41,9 @@ jobs: run: php artisan key:generate - name: Build Assets - run: npm run build + run: | + npm ci --no-audit + run build - name: Run Tests run: ./vendor/bin/pest --ci --coverage