Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
riasvdv committed Jan 3, 2025
1 parent e79aa61 commit f9c5d7f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.3, 8.2, 8.1]
stability: [prefer-lowest, prefer-stable]
os: [ubuntu-latest]
php: [8.4, 8.3, 8.2, 8.1]
stability: [prefer-stable]

name: P${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}

Expand Down
3 changes: 3 additions & 0 deletions src/Mjml.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,12 @@ protected function checkForDeprecationWarning(string $result): string

public function getCommand(string $templatePath, string $outputPath, $arguments): array
{
$home = getenv("HOME");

$extraDirectories = [
'/usr/local/bin',
'/opt/homebrew/bin',
$home . '/n/bin', // support https://github.com/tj/n
__DIR__.'/../node_modules/mjml/bin',
];

Expand Down

0 comments on commit f9c5d7f

Please sign in to comment.