Fix Cluster Creation #212
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unikorn Push | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- ready_for_review | |
permissions: | |
contents: read | |
jobs: | |
Lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Node Version | |
id: node_version | |
run: echo "node_version=$(grep 'ARG NODE_VERSION' Dockerfile | cut -d = -f 2)" >> ${GITHUB_OUTPUT} | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ steps.node_version.outputs.node_version }} | |
cache: 'npm' | |
- name: Install Helm | |
uses: azure/setup-helm@v3 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build Helm Chart | |
run: helm dependency update charts/ui | |
- name: Node Clean Install | |
run: npm ci | |
- name: Lint | |
run: make lint | |
Build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build Images | |
run: make images |