From 292155eb79a38878f27e2dd4e57d70d118b40f08 Mon Sep 17 00:00:00 2001 From: juan-langa Date: Fri, 17 May 2024 10:17:36 +0200 Subject: [PATCH] GitHub Actions - Reusable workflows --- .github/workflows/z_Reusable_RegressionNoWallet.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/z_Reusable_RegressionNoWallet.yml b/.github/workflows/z_Reusable_RegressionNoWallet.yml index 002a2b29..0dbe8b7c 100644 --- a/.github/workflows/z_Reusable_RegressionNoWallet.yml +++ b/.github/workflows/z_Reusable_RegressionNoWallet.yml @@ -1,4 +1,4 @@ -name: Reusable Workflow - Regression - No wallet +name: Reusable Workflow - No wallet on: workflow_call: @@ -13,6 +13,11 @@ on: type: string default: '' required: false + script: + description: 'package.json scrip to be run' + type: string + default: 'ci:no-wallet:regression' + required: true jobs: no-wallet-tests: @@ -28,7 +33,7 @@ jobs: - name: Install dependencies run: yarn - name: Run NO-WALLET tests - run: BASE_URL=${{ inputs.base_url }} FLAGS_FEATURES=${{ inputs.flags_features}} yarn ci:no-wallet:regression + run: BASE_URL=${{ inputs.base_url }} FLAGS_FEATURES=${{ inputs.flags_features}} yarn ${{ inputs.script }} - uses: actions/upload-artifact@v4 if: always() with: