mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-23 12:55:26 +00:00
Resolves the "already exists and is not an empty directory" error by: - Adding a cleanup step to remove the directory before git clone - Setting up Node.js for ruvector dependencies - Installing and verifying ruvector MCP installation
27 lines
1.4 KiB
YAML
27 lines
1.4 KiB
YAML
name: Copilot Setup Steps
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
copilot-setup:
|
|
runs-on: ubuntu-latest
|
|
environment: copilot
|
|
steps:
|
|
- name: Cleanup before git clone
|
|
run: rm -rf /home/runner/work/ruvector/ruvector
|
|
continue-on-error: true
|
|
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '18'
|
|
|
|
- name: Install ruvector dependencies
|
|
run: npm install -g ruvector
|
|
|
|
- name: Verify ruvector MCP
|
|
run: npx ruvector --version
|