File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
apps/agent-inbox/src/__tests__ Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 2222 cache : pnpm
2323 - run : pnpm install --frozen-lockfile
2424 - run : pnpm --filter ./apps/agent-inbox build
25- - run : pnpm --filter ./apps/agent-inbox test src/__tests__/packaging.test.ts src/__tests__/cli.test.ts src/__tests__/setup.test.ts
25+ - run : pnpm --filter ./apps/agent-inbox exec vitest run src/__tests__/packaging.test.ts src/__tests__/cli.test.ts src/__tests__/setup.test.ts
2626 - name : Pack npm tarball
2727 run : |
2828 mkdir -p artifacts
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ describe('npm packaging contract', () => {
2525 bin ?: Record < string , string > ;
2626 files ?: string [ ] ;
2727 dependencies ?: Record < string , string > ;
28+ devDependencies ?: Record < string , string > ;
2829 engines ?: Record < string , string > ;
2930 publishConfig ?: {
3031 access ?: string ;
@@ -47,6 +48,7 @@ describe('npm packaging contract', () => {
4748 expect ( appPackage . dependencies ) . not . toHaveProperty ( '@agent-im-relay/core' ) ;
4849 expect ( appPackage . dependencies ) . not . toHaveProperty ( '@agent-im-relay/discord' ) ;
4950 expect ( appPackage . dependencies ) . not . toHaveProperty ( '@agent-im-relay/feishu' ) ;
51+ expect ( appPackage . devDependencies ?. [ 'vitest' ] ) . toBeDefined ( ) ;
5052 expect ( appPackage . scripts ?. [ 'prepack' ] ) . toBe ( 'pnpm run build' ) ;
5153 } ) ;
5254
You can’t perform that action at this time.
0 commit comments