Skip to content

feat: add 'format' npm script #195

feat: add 'format' npm script

feat: add 'format' npm script #195

Workflow file for this run

name: Test CI
on:
push:
branches:
- master
pull_request:
paths-ignore:
- '*.md'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
php-version: ['7.4', '8.0', '8.1', '8.2']
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer
- run: composer install
- run: vendor/bin/phpcs
- run: vendor/bin/psalm
- run: vendor/bin/phpunit