fix: restore playground progress on reload and correct docs #15
Workflow file for this run
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: CI - Test Frontend | |
| on: | |
| push: | |
| branches: [main, develop] | |
| paths: | |
| - 'rag-ui/**' | |
| - '.github/workflows/test-frontend.yml' | |
| pull_request: | |
| branches: [main, develop] | |
| paths: | |
| - 'rag-ui/**' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./rag-ui | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Type check | |
| run: pnpm --filter rag-ui exec nuxt typecheck | |
| - name: Build | |
| run: pnpm --filter rag-ui build | |
| - name: Upload coverage | |
| uses: codecov/codecov-action@v3 | |
| with: | |
| directory: ./rag-ui/coverage | |
| flags: frontend | |
| name: frontend-coverage |