Skip to content

feat: update package on packagist when a new release is published #45

feat: update package on packagist when a new release is published

feat: update package on packagist when a new release is published #45

Workflow file for this run

name: phpunit
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4' # Specify the PHP version you want to use
- name: Install Composer dependencies
run: composer install --no-progress --no-suggest --prefer-dist
- name: Run PHPUnit tests
run: vendor/bin/phpunit ./tests/