Skip to content

Commit

Permalink
fix: workspace path
Browse files Browse the repository at this point in the history
  • Loading branch information
darkskygit committed Jan 8, 2025
1 parent 536f892 commit 788676b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ jobs:
changed:
- 'packages/backend/server/src/plugins/copilot/**'
- 'packages/backend/server/tests/copilot*'
- 'tests/affine-cloud/copilot/**'
- 'tests/affine-cloud-copilot/**'
- name: Setup Node.js
if: ${{ steps.check-blocksuite-update.outputs.skip != 'true' || steps.apifilter.outputs.changed == 'true' }}
Expand Down Expand Up @@ -596,7 +596,7 @@ jobs:
changed:
- 'packages/frontend/core/src/blocksuite/presets/ai/**'
- 'packages/frontend/core/src/components/blocksuite/block-suite-editor/ai/**'
- 'tests/affine-cloud/copilot/**'
- 'tests/affine-cloud-copilot/**'
- name: Setup Node.js
if: ${{ steps.check-blocksuite-update.outputs.skip != 'true' || steps.e2efilter.outputs.changed == 'true' }}
Expand Down
4 changes: 2 additions & 2 deletions tests/affine-cloud-copilot/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"esModuleInterop": true,
"outDir": "lib"
},
"include": ["e2e"],
"references": [
{
"path": "../../../tests/kit"
"path": "../../tests/kit"
}
]
}
4 changes: 2 additions & 2 deletions tests/affine-cloud/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"esModuleInterop": true,
"outDir": "lib"
},
"include": ["e2e"],
"references": [
{
"path": "../../../tests/kit"
"path": "../../tests/kit"
}
]
}
4 changes: 2 additions & 2 deletions tools/utils/src/workspace.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -610,12 +610,12 @@ export const PackageList = [
workspaceDependencies: ['packages/common/debug'],
},
{
location: 'tests/affine-cloud/cloud',
location: 'tests/affine-cloud',
name: '@affine-test/affine-cloud',
workspaceDependencies: ['tests/kit'],
},
{
location: 'tests/affine-cloud/copilot',
location: 'tests/affine-cloud-copilot',
name: '@affine-test/affine-cloud-copilot',
workspaceDependencies: ['tests/kit'],
},
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@
"path": "./tests/affine-mobile"
},
{
"path": "./tests/affine-cloud/cloud"
"path": "./tests/affine-cloud"
},
{
"path": "./tests/affine-cloud/copilot"
"path": "./tests/affine-cloud-copilot"
},
{
"path": "./tests/affine-desktop"
Expand Down

0 comments on commit 788676b

Please sign in to comment.