chore: release v3.8.1 #264
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: Embedding Regression | |
| on: | |
| schedule: | |
| - cron: '0 6 * * 1' # Monday 6am UTC | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - 'src/embeddings/**' | |
| - 'tests/search/**' | |
| - 'package.json' | |
| concurrency: | |
| group: embedding-regression-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| embedding-regression: | |
| runs-on: ubuntu-latest | |
| name: Embedding regression tests | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Cache HuggingFace models | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.cache/huggingface | |
| key: hf-models-minilm-v1 | |
| - name: Run embedding regression tests | |
| run: npx vitest run tests/search/embedding-regression.test.ts |