mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-14 22:02:59 -07:00
46 lines
934 B
YAML
46 lines
934 B
YAML
name: Optimizer Pulse
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '*/30 * * * *'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
pulse:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '20'
|
|
cache: 'npm'
|
|
|
|
- name: Install dependencies
|
|
run: npm install
|
|
|
|
- name: Run Optimizer Pulse
|
|
run: |
|
|
cd tools/optimizer
|
|
npx tsx index.ts --pulse
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
EXECUTE_ACTIONS: 'true'
|
|
|
|
- name: Upload Metrics Artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: optimizer-pulse-results
|
|
path: |
|
|
metrics-before.csv
|
|
metrics-after.csv
|
|
*-before.csv
|
|
*-after.csv
|