Skip to content

feat(frontend): check linked chat engines before delete kb (#456) #463

feat(frontend): check linked chat engines before delete kb (#456)

feat(frontend): check linked chat engines before delete kb (#456) #463

Workflow file for this run

name: Verify
on:
push:
branches:
- main
paths:
- frontend/**
- README.md
pull_request:
branches:
- main
paths:
- frontend/**
- README.md
jobs:
verify-frontend:
name: Verify frontend
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
run_install: false
package_json_file: ./frontend/package.json
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: ./frontend/.nvmrc
cache-dependency-path: ./frontend
cache: 'pnpm'
- run: pnpm i --frozen-lockfile
- uses: actions/cache@v4
with:
path: |
./frontend/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('frontend/**/pnpm-lock.yaml') }}-${{ hashFiles('frontend/**/*.js', 'frontend/**/*.jsx', 'frontend/**/*.ts', 'frontend/**/*.tsx') }}
- run: pnpm run verify