mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-15 06:12:50 -07:00
ci: conditionalize Vitest alias for E2E tests
This commit is contained in:
@@ -417,5 +417,6 @@ jobs:
|
||||
GEMINI_API_KEY: '${{ secrets.GEMINI_API_KEY }}'
|
||||
KEEP_OUTPUT: 'true'
|
||||
VERBOSE: 'true'
|
||||
USE_PUBLISHED_PACKAGES: 'true'
|
||||
run: 'npm run test:integration:sandbox:none'
|
||||
shell: 'pwsh'
|
||||
|
||||
@@ -14,9 +14,12 @@ export default defineConfig({
|
||||
environment: 'node',
|
||||
setupFiles: ['./globalSetup.ts'],
|
||||
globalSetup: ['./globalSetup.ts'],
|
||||
alias: {
|
||||
'@google/gemini-cli-core': '@google-gemini/gemini-cli-core',
|
||||
},
|
||||
alias:
|
||||
process.env.USE_PUBLISHED_PACKAGES === 'true'
|
||||
? {
|
||||
'@google/gemini-cli-core': '@google-gemini/gemini-cli-core',
|
||||
}
|
||||
: {},
|
||||
reporters: ['default'],
|
||||
include: ['**/*.test.ts'],
|
||||
retry: 2,
|
||||
|
||||
Reference in New Issue
Block a user