CoolFace
Datasetpublic

echodict/llama.cpp

version https://git-lfs.github.com/spec/v1 oid sha256:cfc44b7ba25614df70e6b65e3341cae0310163bd32fd31a6b928a542df433faf size 30786

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes773downloads
server-webui.yml109 linesDownload Raw Back to workflows
1name: Server WebUI2 3on:4  workflow_dispatch: # allows manual triggering5    inputs:6      sha:7        description: 'Commit SHA1 to build'8        required: false9        type: string10  push:11    branches:12      - master13    paths: [14      '.github/workflows/server-webui.yml',15      'tools/server/webui/**.*',16      'tools/server/tests/**.*',17      'tools/server/public/**'18    ]19  pull_request:20    types: [opened, synchronize, reopened]21    paths: [22      '.github/workflows/server-webui.yml',23      'tools/server/webui/**.*',24      'tools/server/tests/**.*',25      'tools/server/public/**'26    ]27 28env:29  LLAMA_LOG_COLORS: 130  LLAMA_LOG_PREFIX: 131  LLAMA_LOG_TIMESTAMPS: 132  LLAMA_LOG_VERBOSITY: 1033 34concurrency:35  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || github.run_id }}36  cancel-in-progress: true37 38jobs:39  webui-check:40    name: WebUI Checks41    runs-on: ${{ 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}42    continue-on-error: true43    steps:44      - name: Checkout code45        uses: actions/checkout@v646        with:47          fetch-depth: 048          ref: ${{ github.event.inputs.sha || github.event.pull_request.head.sha || github.sha || github.head_ref || github.ref_name }}49 50      - name: Setup Node.js51        id: node52        uses: actions/setup-node@v653        with:54          node-version: "22"55          cache: "npm"56          cache-dependency-path: "tools/server/webui/package-lock.json"57 58      - name: Install dependencies59        id: setup60        if: ${{ steps.node.conclusion == 'success' }}61        run: npm ci62        working-directory: tools/server/webui63 64      - name: Run type checking65        if: ${{ always() && steps.setup.conclusion == 'success' }}66        run: npm run check67        working-directory: tools/server/webui68 69      - name: Run linting70        if: ${{ always() && steps.setup.conclusion == 'success' }}71        run: npm run lint72        working-directory: tools/server/webui73 74      - name: Build application75        if: ${{ always() && steps.setup.conclusion == 'success' }}76        run: npm run build77        working-directory: tools/server/webui78 79      - name: Install Playwright browsers80        id: playwright81        if: ${{ always() && steps.setup.conclusion == 'success' }}82        run: npx playwright install --with-deps83        working-directory: tools/server/webui84 85      - name: Build Storybook86        if: ${{ always() && steps.playwright.conclusion == 'success' }}87        run: npm run build-storybook88        working-directory: tools/server/webui89 90      - name: Run Client tests91        if: ${{ always() && steps.playwright.conclusion == 'success' }}92        run: npm run test:client93        working-directory: tools/server/webui94 95      - name: Run Unit tests96        if: ${{ always() && steps.playwright.conclusion == 'success' }}97        run: npm run test:unit98        working-directory: tools/server/webui99 100      - name: Run UI tests101        if: ${{ always() && steps.playwright.conclusion == 'success' }}102        run: npm run test:ui -- --testTimeout=60000103        working-directory: tools/server/webui104 105      - name: Run E2E tests106        if: ${{ always() && steps.playwright.conclusion == 'success' }}107        run: npm run test:e2e108        working-directory: tools/server/webui109