marcusmyers / laravel-github-actions
A package to add the ability to use github actions in your application or package
Installs: 3 767
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires (Dev)
- orchestra/testbench: 3.8.*
This package is auto-updated.
Last update: 2024-12-25 05:12:02 UTC
README
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.