marcusmyers/laravel-github-actions

A package to add the ability to use github actions in your application or package

2.0.1 2020-04-24 19:05 UTC

This package is auto-updated.

Last update: 2024-04-25 03:48:58 UTC


README

Latest Version on Packagist Total Downloads

Up and running with GitHub Actions for your Laravel project. Currently, all actions are for testing your application. This will require you to signup for GitHub Actions, once available to your GitHub account this package can be installed in your project.

Installation

This is just a small set of files that sets up GitHub Actions per project. There is nothing to install globally!

composer require marcusmyers/laravel-github-actions

If all you want is just the simple phpunit test suite run this after install.

php artisan vendor:publish --provider="Marcusmyers\LaravelGithubActions\LaravelGithubActionsServiceProvider" --tag="app-actions"

If you are writing a package run this after install

php artisan vendor:publish --provider="Marcusmyers\LaravelGithubActions\LaravelGithubActionsServiceProvider" --tag="package-actions"

For dusk browser testing run the following:

php artisan vendor:publish --provider="Marcusmyers\LaravelGithubActions\LaravelGithubActionsServiceProvider" --tag="dusk-actions"

For all app testing run the following:

php artisan vendor:publish --provider="Marcusmyers\LaravelGithubActions\LaravelGithubActionsServiceProvider" --tag="all-app-actions"

Private Packagist Repo

In order to install packages that are on a private packagist server you will have to add the following to workflow file. The example below uses Laravel Nova.

composer config http-basic.nova.laravel.com ${{ secrets.NOVA_USERNAME }} ${{ secrets.NOVA_PASSWORD }}

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email marcusmyers@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.