Skip to content

[fix] typos

[fix] typos #11

Workflow file for this run

name: PHP 8.2 Build Test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
strategy:
matrix:
operating-system: [ 'ubuntu-latest' ]
php-versions: [ '8.2' ]
phpunit-versions: [ 10 ]
runs-on: ${{ matrix.operating-system }}
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, intl, xdebug, json, sockets
ini-values: max_execution_time=360
coverage: xdebug
tools: php-cs-fixer, phpunit:${{ matrix.phpunit-versions }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- run: npm ci
- run: npm run markdown
- run: npm run start-server &
- run: sleep 5
- name: Run test suite
run: composer run-script test