mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-23 18:22:37 -07:00
ci: inline bundle creation and E2E tests
This commit is contained in:
@@ -10,30 +10,6 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build_bundle:
|
||||
name: 'Build Bundle'
|
||||
runs-on: 'gemini-cli-ubuntu-16-core'
|
||||
steps:
|
||||
- name: 'Checkout'
|
||||
uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8'
|
||||
|
||||
- name: 'Set up Node.js'
|
||||
uses: 'actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020'
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
cache: 'npm'
|
||||
|
||||
- name: 'Install & Build'
|
||||
run: |
|
||||
npm ci
|
||||
npm run bundle
|
||||
|
||||
- name: 'Upload Bundle'
|
||||
uses: 'actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02'
|
||||
with:
|
||||
name: 'gemini-bundle'
|
||||
path: 'bundle/'
|
||||
|
||||
test_ui_messages:
|
||||
name: 'Test (Linux) - UI Messages'
|
||||
runs-on: 'gemini-cli-ubuntu-16-core'
|
||||
@@ -328,17 +304,22 @@ jobs:
|
||||
|
||||
test_e2e:
|
||||
name: 'Test (Linux) - E2E with Bundle'
|
||||
needs: build_bundle
|
||||
runs-on: 'gemini-cli-ubuntu-16-core'
|
||||
steps:
|
||||
- name: 'Checkout'
|
||||
uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8'
|
||||
|
||||
- name: 'Setup with Bundle'
|
||||
uses: './.github/actions/setup-gemini'
|
||||
- name: 'Set up Node.js'
|
||||
uses: 'actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020'
|
||||
with:
|
||||
mode: 'bundle'
|
||||
bundle-artifact: 'gemini-bundle'
|
||||
node-version-file: '.nvmrc'
|
||||
cache: 'npm'
|
||||
|
||||
- name: 'Install dependencies'
|
||||
run: 'npm ci'
|
||||
|
||||
- name: 'Build Bundle'
|
||||
run: 'npm run bundle'
|
||||
|
||||
- name: 'Run Integration Tests'
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user