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:
rUv 2025-12-01 17:57:50 +00:00
parent 789ade650e
commit 46a059dd2a
3 changed files with 10 additions and 7422 deletions

View file

@ -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
View file

@ -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

File diff suppressed because it is too large Load diff