Skip to content

Releases: Hi-Folks/gh-actions-yaml-generator

Save Configurations

15 Feb 19:43
87da459
Compare
Choose a tag to compare

Add

Change

Caching node_modules

06 Feb 09:09
2d4f548
Compare
Choose a tag to compare

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

05 Feb 19:45
b91af0d
Compare
Choose a tag to compare

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

31 Jan 07:58
9d1b5d4
Compare
Choose a tag to compare

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

23 Jan 20:15
b04aaae
Compare
Choose a tag to compare

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

15 Jan 22:02
4dc648e
Compare
Choose a tag to compare

🎉 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!

07 Jan 20:45
6550040
Compare
Choose a tag to compare

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

05 Jan 22:25
0f8e4a4
Compare
Choose a tag to compare

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

03 Jan 20:58
Compare
Choose a tag to compare

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

03 Jan 20:41
0f5270b
Compare
Choose a tag to compare
  • 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.