Merge pull request #2603 from codeflash-ai/fix/deploy-build-common
fix: build common package before app in deploy workflows
This commit is contained in:
commit
c372b6bc32
2 changed files with 8 additions and 0 deletions
4
.github/workflows/deploy_cfapi_to_azure.yml
vendored
4
.github/workflows/deploy_cfapi_to_azure.yml
vendored
|
|
@ -38,6 +38,10 @@ jobs:
|
|||
working-directory: js
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Build common package
|
||||
working-directory: js
|
||||
run: pnpm --filter @codeflash-ai/common build
|
||||
|
||||
- name: Build and package app
|
||||
run: |
|
||||
cd js/cf-api
|
||||
|
|
|
|||
|
|
@ -56,6 +56,10 @@ jobs:
|
|||
nextjs-${{ runner.os }}-${{ hashFiles('js/pnpm-lock.yaml') }}-
|
||||
nextjs-${{ runner.os }}-
|
||||
|
||||
- name: Build common package
|
||||
working-directory: js
|
||||
run: pnpm --filter @codeflash-ai/common build
|
||||
|
||||
- name: Build and package app
|
||||
working-directory: js
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue