mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-24 13:54:31 +00:00
fix(ci): Use root package-lock.json for workspace caching
- Update cache-dependency-path to use root package-lock.json - Replace npm ci with npm install for workspace compatibility - Remove agentic-synth/package-lock.json (not needed with workspaces)
This commit is contained in:
parent
789ade650e
commit
46a059dd2a
3 changed files with 10 additions and 7422 deletions
20
.github/workflows/agentic-synth-ci.yml
vendored
20
.github/workflows/agentic-synth-ci.yml
vendored
|
|
@ -47,11 +47,11 @@ jobs:
|
|||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: 'npm'
|
||||
cache-dependency-path: ${{ env.PACKAGE_PATH }}/package-lock.json
|
||||
cache-dependency-path: package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: ${{ env.PACKAGE_PATH }}
|
||||
run: npm ci
|
||||
run: npm install
|
||||
|
||||
- name: Run TypeScript type checking
|
||||
working-directory: ${{ env.PACKAGE_PATH }}
|
||||
|
|
@ -88,11 +88,11 @@ jobs:
|
|||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'npm'
|
||||
cache-dependency-path: ${{ env.PACKAGE_PATH }}/package-lock.json
|
||||
cache-dependency-path: package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: ${{ env.PACKAGE_PATH }}
|
||||
run: npm ci
|
||||
run: npm install
|
||||
|
||||
- name: Build package (ESM + CJS)
|
||||
working-directory: ${{ env.PACKAGE_PATH }}
|
||||
|
|
@ -154,11 +154,11 @@ jobs:
|
|||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: 'npm'
|
||||
cache-dependency-path: ${{ env.PACKAGE_PATH }}/package-lock.json
|
||||
cache-dependency-path: package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: ${{ env.PACKAGE_PATH }}
|
||||
run: npm ci
|
||||
run: npm install
|
||||
|
||||
- name: Run tests with coverage
|
||||
working-directory: ${{ env.PACKAGE_PATH }}
|
||||
|
|
@ -198,11 +198,11 @@ jobs:
|
|||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: 'npm'
|
||||
cache-dependency-path: ${{ env.PACKAGE_PATH }}/package-lock.json
|
||||
cache-dependency-path: package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: ${{ env.PACKAGE_PATH }}
|
||||
run: npm ci
|
||||
run: npm install
|
||||
|
||||
- name: Build package
|
||||
working-directory: ${{ env.PACKAGE_PATH }}
|
||||
|
|
@ -259,11 +259,11 @@ jobs:
|
|||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: 'npm'
|
||||
cache-dependency-path: ${{ env.PACKAGE_PATH }}/package-lock.json
|
||||
cache-dependency-path: package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: ${{ env.PACKAGE_PATH }}
|
||||
run: npm ci
|
||||
run: npm install
|
||||
|
||||
- name: Build package
|
||||
working-directory: ${{ env.PACKAGE_PATH }}
|
||||
|
|
|
|||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -24,7 +24,6 @@ target
|
|||
node_modules/
|
||||
package-lock.json
|
||||
!npm/package-lock.json
|
||||
!packages/agentic-synth/package-lock.json
|
||||
|
||||
# napi-rs build artifacts
|
||||
*.node
|
||||
|
|
|
|||
7411
packages/agentic-synth/package-lock.json
generated
7411
packages/agentic-synth/package-lock.json
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue