From e4ca5b5f07bc8066bfd8cc2629007b14fe639073 Mon Sep 17 00:00:00 2001 From: Nicolas Lemoine Date: Tue, 17 Oct 2023 09:24:16 +0200 Subject: [PATCH] ci: Add release workflow --- .github/workflows/release.yml | 10 ++++++++++ composer.json | 17 +++++++++++------ 2 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..fc426ef --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,10 @@ +on: + push: + branches: + - main + +name: CI + +jobs: + release: + uses: mindkomm/workflows/.github/workflows/release.yml@main diff --git a/composer.json b/composer.json index a21c2e4..f656e1f 100644 --- a/composer.json +++ b/composer.json @@ -4,12 +4,12 @@ "description": "Collection of link helper functions for WordPress themes", "license": "MIT", "require": { - "php": ">=7.0.0" + "php": ">=7.0.0" }, "autoload": { - "files": [ - "autoload.php" - ] + "files": [ + "autoload.php" + ] }, "authors": [ { @@ -17,5 +17,10 @@ "email": "lukas.gaechter@mind.ch", "homepage": "https://www.mind.ch" } - ] -} + ], + "minimum-stability": "dev", + "prefer-stable": true, + "require-dev": { + "mindkomm/qa": "^0.4.1" + } +} \ No newline at end of file