Skip to content

Smooth upgrade mount pod #200

Smooth upgrade mount pod

Smooth upgrade mount pod #200

Workflow file for this run

name: Dashboard CI
on:
push:
branches:
- master
paths:
- 'Makefile'
- 'docker/Makefile'
- 'docker/dashboard.Dockerfile'
- 'dashboard-ui-v2/**'
- 'cmd/dashboard/**'
- 'pkg/dashboard/**'
pull_request:
branches:
- master
paths:
- 'Makefile'
- 'docker/Makefile'
- 'docker/dashboard.Dockerfile'
- 'dashboard-ui-v2/**'
- 'cmd/dashboard/**'
- 'pkg/dashboard/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- name: Set Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: cd dashboard-ui-v2 && pnpm install
- name: Lint dashboard
run: cd dashboard-ui-v2 && pnpm run lint
- name: Build dashboard
run: make dashboard-dist