Skip to content

fix: update JUICEFS_CSI_REPO_REF in Makefile #153

fix: update JUICEFS_CSI_REPO_REF in Makefile

fix: update JUICEFS_CSI_REPO_REF in Makefile #153

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