feat(ci): add trial bundling workflow and setup action

This commit is contained in:
mkorwel
2026-04-14 16:49:08 -07:00
parent 161ba28966
commit dae73612e5
2 changed files with 94 additions and 0 deletions
+49
View File
@@ -0,0 +1,49 @@
name: 'Bundling Trial CI'
on:
push:
branches:
- 'feat/ci-bundling-revamp'
jobs:
build_bundle:
name: 'Build Bundle'
runs-on: 'gemini-cli-ubuntu-16-core'
steps:
- name: 'Checkout'
uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8'
- name: 'Set up Node'
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' # v4
with:
name: 'gemini-bundle'
path: 'bundle/'
test_with_bundle:
name: 'Test (Linux) - Bundled Trial'
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'
with:
mode: 'bundle'
bundle-artifact: 'gemini-bundle'
- name: 'Run CLI Tests'
run: 'npm run test:ci --workspace "@google/gemini-cli"'
shell: 'bash'