Releases: Hi-Folks/gh-actions-yaml-generator
Releases · Hi-Folks/gh-actions-yaml-generator
Save Configurations
Add
- Add permalink to load saved configuration
- Add Makefile for deploy
- Add check for Rate Limit https://github.com/danharrin/livewire-rate-limiting
- Add LaraLens package https://github.com/Hi-Folks/lara-lens
Change
- Use database migrations in tests
- Change Demo URL: https://ghygen.hi-folks.dev/
Caching node_modules
Add
- Caching node_modules directory when npm build is selected
- add check for on events (just to avoid a mix of manual/automatic behaviour)
Validations and Suggestions
Add
- Validation for some mandatory fields like name, "on events";
- Conditional validation for some mandatory fields that depend on a check (fill branches if "On" event is selected, fill mysql parameter if Mysql service is selected);
- Add Makefile for development.
- Add Hints / Suggestions
Laravel Matrix
Add
- Add Laravel Matrix (for Laravel 8, Laravel 7 and Laravel 6)
- Add caching Schema Yaml file (to improve the speed during Yaml checks)
Syntax Highlight and Copy into Clipboard
Add
- Add syntax highlight for Yaml workflow file
- Add copy button. ONce the Yaml is generated, you can click Copy Button in order to copy in the clipboard the content (so you can paste in your .github/workflows/*.yml file)
- Add Open Graph meta in the main page
- Add Larastan for phpstan, for a better compatibility with Laravel for static code analysis
Change
- fix margin and padding for checkboxes
- change input colors, from indigo to blue
- Fix load env parameters (load DB_ parameters only if database is needed)
- Fix Chrome driver version for Browser Tests (Laravel Dusk)
Browser tests in your workflow
🎉 In the Yaml generated file, are included configurations and commands to launch Browser Tests (Laravel Dusk) in your GitHub Actions
Add
- new .env parameter for forcing HTTPS for assets: APP_FORCE_HTTPS;
- using Larastan (to enhance the compatibility for phpstan with Laravel)
- adding check for Laravel Dusk, so your workflow can launch browser tests directly in the CICD
Validation!
Add
- Validate Yaml file generated
- Show errors if there is some syntax error in Yaml file
Change
- red background if some error happens during the generation of Yaml file
Build, Migrate, Check
Add
- Test execution (via phpunit)
- Code Sniffer (via phpcs)
- Static Analysis (via phpstan)
- Select Mysql Password: skip / from secret / hardcoded
- Run migrations (php artisan migrate)
- Nodejs setup (optional)
- Npm packages installation
- Caching Npm packages
Change
- fix array/string conversion for branches
Proof of Concept
Change
- MYSQL_ALLOW_EMPTY_PASSWORD for mysql container service
- use features/** for triggering actions on push event
- fix indent jobs in yaml file
- fix copying .env file
Proof of Concept
- Collect some parameters:
- name of workflow;
- "On" (events that trigger the workflow);
- setup mysql service container;
- caching vendors and packages;
- select PHP versions;
- select NodeJs version (for npm build);
- some specific Laravel stuff (.env file, fix storage permissions).
- Generate and check Yaml File.