From 88d73388cd44cc9a1dc4fc1c41bc8e497f0bfdf8 Mon Sep 17 00:00:00 2001 From: Anmol1696 Date: Sun, 16 Jun 2024 14:15:02 +0530 Subject: [PATCH] use global install rather then local --- action.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/action.yaml b/action.yaml index 0693ceb..ecc332b 100644 --- a/action.yaml +++ b/action.yaml @@ -118,13 +118,13 @@ runs: - name: Setup starshipjs client if: inputs.cli-version != '0.0.0' # Skip if cli-version is 0.0.0, expected to be used for local testing run: | - yarn add @starship-ci/cli@${{ inputs.cli-version }} - yarn starship --version + yarn global add @starship-ci/cli@${{ inputs.cli-version }} + starship --version shell: bash - name: Setup starship helm repo run: | - yarn starship setup \ + starship setup \ --helmName ${{ inputs.name }} \ --helmVersion ${{ inputs.version }} \ --helmFile ${{ inputs.config }} \ @@ -138,7 +138,7 @@ runs: run: | helm delete ${{ inputs.name }} --debug --namespace ${{ steps.set-namespace.outputs.namespace }} --wait || true sleep 5 - yarn starship start \ + starship start \ --helmName ${{ inputs.name }} \ --helmVersion ${{ inputs.version }} \ --helmFile ${{ inputs.config }} \ @@ -169,7 +169,7 @@ runs: helm delete ${{ inputs.name }} --debug --namespace ${{ steps.set-namespace.outputs.namespace }} --wait || true sleep 5 kubectl get pods --namespace ${{ steps.set-namespace.outputs.namespace }} - yarn starship start \ + starship start \ --helmName ${{ inputs.name }} \ --helmVersion ${{ inputs.version }} \ --helmFile ${{ inputs.config }} \