BUGFIX: Resolve formatting issue in blog article summary #65
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| env: | |
| YARN_ENABLE_IMMUTABLE_INSTALLS: false | |
| PHP_VERSION: 8.3 | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version-file: '.nvmrc' | |
| cache: 'yarn' | |
| - name: Install dependencies | |
| run: yarn | |
| - name: Run linting | |
| run: yarn lint:yaml | |
| codestyle: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ env.PHP_VERSION }} | |
| - name: Cache dependencies | |
| uses: actions/cache@v3 | |
| with: | |
| path: ~/.composer/cache | |
| key: dependencies-composer-${{ hashFiles('composer.json') }} | |
| - name: Install dependencies | |
| uses: php-actions/composer@v6 | |
| with: | |
| php_version: ${{ env.PHP_VERSION }} | |
| version: 2 | |
| - name: PHPStan | |
| uses: php-actions/phpstan@v3 | |
| with: | |
| php_version: ${{ env.PHP_VERSION }} | |
| version: 2.1.17 | |
| command: analyse | |
| path: 'DistributionPackages/' |