Skip to content

Commit

Permalink
start to create github action using starshipjs
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 committed Jun 9, 2024
1 parent 93cca63 commit 055bfbc
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,11 @@ runs:
using: composite
steps:

- name: Install dependencies
run: |
sudo apt-get install -y make sed wget tar jq
sudo wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq
sudo chmod +x /usr/bin/yq
shell: bash
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "yarn"

- name: Setup helm
uses: azure/setup-helm@v3
Expand Down Expand Up @@ -112,8 +111,15 @@ runs:
env:
INPUT_NAMESPACE: ${{ inputs.namespace }}

- name: Setup starshipjs client
run: |
yarn global add @starship-ci/cli
starship --version
shell: bash

- name: Setup starship helm repo
run: |
starship setup --helmName ${{ inputs.name }} --helmVersion
helm version
helm repo add starship ${{ inputs.repo }}
helm repo update
Expand Down

0 comments on commit 055bfbc

Please sign in to comment.