Skip to content

Commit 91d4b49

Browse files
committed
Enhance GitHub Actions workflow by adding Node.js setup, installing frontend dependencies, and integrating Gemini CLI and Playwright Chromium installations. Update test run environment variables for improved API key management.
1 parent 0cca195 commit 91d4b49

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,28 @@ jobs:
2121
- name: Set up Python
2222
run: uv python install 3.13
2323

24+
- name: Set up Node
25+
uses: actions/setup-node@v5
26+
with:
27+
node-version: 24
28+
cache: npm
29+
cache-dependency-path: web/package-lock.json
30+
2431
- name: Install dependencies
2532
run: uv sync --all-extras --dev
2633

34+
- name: Install frontend dependencies
35+
working-directory: web
36+
run: npm ci
37+
38+
- name: Install Gemini CLI
39+
run: npm install -g @google/gemini-cli
40+
41+
- name: Install Playwright Chromium
42+
run: uv run playwright install --with-deps chromium
43+
2744
- name: Run tests
45+
env:
46+
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
47+
OR_API_KEY: ${{ secrets.OR_API_KEY }}
2848
run: uv run pytest

0 commit comments

Comments
 (0)