Skip to content

Commit 72d076d

Browse files
ahh
1 parent d3af813 commit 72d076d

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/sync-ai-models.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,15 @@ jobs:
3131
if: steps.node-modules-cache.outputs.cache-hit != 'true'
3232
run: npm ci --no-audit --no-fund
3333

34-
- name: Build packages
35-
env:
36-
NX_REJECT_UNKNOWN_LOCAL_CACHE: 0
37-
run: |
38-
npm run prepare
39-
npx nx run openops-common:build
34+
- name: Build shared package
35+
run: npx nx run shared:build
4036

4137
- name: Check for model updates
4238
id: check-models
4339
continue-on-error: true
4440
run: |
4541
set +e
46-
node dist/packages/openops/lib/ai/sync-models.js --update
42+
npx tsx --tsconfig tsconfig.base.json packages/openops/src/lib/ai/sync-models.ts --update
4743
EXIT_CODE=$?
4844
set -e
4945
echo "exit_code=$EXIT_CODE" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)