From eadd939aa958d51ec0d6b63797134f53956478c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vi=CC=81ctor=20Falco=CC=81n?= Date: Wed, 26 Nov 2025 12:01:48 +0100 Subject: [PATCH] chore(.github): Update GitHub Actions workflows to use Bun instead of Node.js --- .github/workflows/lint.yml | 9 ++++++--- .github/workflows/tests.yml | 11 ++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9f2ccc07..8ed6bed4 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -24,19 +24,22 @@ jobs: with: php-version: '8.4' + - name: Setup Bun + uses: oven-sh/setup-bun@v2 + - name: Install Dependencies run: | composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist - npm install + bun install --frozen-lockfile - name: Run Pint run: vendor/bin/pint - name: Format Frontend - run: npm run format + run: bun run format - name: Lint Frontend - run: npm run lint + run: bun run lint # - name: Commit Changes # uses: stefanzweifel/git-auto-commit-action@v5 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5db46ce4..9ffab39a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,20 +25,17 @@ jobs: tools: composer:v2 coverage: xdebug - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: '22' - cache: 'npm' + - name: Setup Bun + uses: oven-sh/setup-bun@v2 - name: Install Node Dependencies - run: npm ci + run: bun install --frozen-lockfile - name: Install Dependencies run: composer install --no-interaction --prefer-dist --optimize-autoloader - name: Build Assets - run: npm run build + run: bun run build - name: Copy Environment File run: cp .env.example .env