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