Skip to content

Commit

Permalink
feature: use global install rather then local (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 authored Jun 16, 2024
1 parent 8b97b7a commit 13c4c08
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }} \
Expand All @@ -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 }} \
Expand Down Expand Up @@ -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 }} \
Expand Down

0 comments on commit 13c4c08

Please sign in to comment.