chore(deps): bump yaml from 2.8.2 to 2.8.3 in /dashboard-ui-v2 (#1544) #541
This file contains hidden or 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: Dashboard CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - 'Makefile' | |
| - 'docker/Makefile' | |
| - 'docker/dashboard.Dockerfile' | |
| - 'dashboard-ui-v2/**' | |
| - 'cmd/dashboard/**' | |
| - 'pkg/dashboard/**' | |
| - '!docs/**' | |
| - '!**.md' | |
| - '!.autocorrectrc' | |
| - '!.markdownlint-cli2.jsonc' | |
| pull_request: | |
| branches: | |
| - master | |
| paths: | |
| - 'Makefile' | |
| - 'docker/Makefile' | |
| - 'docker/dashboard.Dockerfile' | |
| - 'dashboard-ui-v2/**' | |
| - 'cmd/dashboard/**' | |
| - 'pkg/dashboard/**' | |
| - '!docs/**' | |
| - '!**.md' | |
| - '!.autocorrectrc' | |
| - '!.markdownlint-cli2.jsonc' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| 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: 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 |