Skip to content

chore(deps): update anthropics/claude-code-action action to v1.0.41 #564

chore(deps): update anthropics/claude-code-action action to v1.0.41

chore(deps): update anthropics/claude-code-action action to v1.0.41 #564

Workflow file for this run

name: E2E Tests
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
env:
# Ollama config for AI assistant tests
OLLAMA_MODELS: /home/runner/.ollama/models
jobs:
e2e:
name: Playwright E2E
runs-on: ubuntu-latest
timeout-minutes: 15
env:
API_BASE_URL: http://localhost:9090
OIDC_ISSUER_URL: http://localhost:4000
OIDC_CLIENT_ID: test-only-not-a-real-id
OIDC_CLIENT_SECRET: test-only-not-a-real-secret
OIDC_PROVIDER_ID: oidc
BETTER_AUTH_URL: http://localhost:3000
BETTER_AUTH_SECRET: test-only-not-a-real-better-auth-secret
USE_E2E_MODEL: "true"
E2E_MODEL_NAME: qwen2.5:1.5b
OLLAMA_BASE_URL: http://localhost:11434
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Cache Ollama binary
id: cache-ollama
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5
with:
path: /usr/local/bin/ollama
key: ollama-binary-v0.13.5
- name: Cache Ollama models
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5
with:
path: /home/runner/.ollama/models
key: ollama-qwen2.5-1.5b-v3
- name: Install Ollama
if: steps.cache-ollama.outputs.cache-hit != 'true'
run: curl -fsSL https://ollama.com/install.sh | sh
- name: Start Ollama server
run: |
sudo systemctl stop ollama 2>/dev/null || true
OLLAMA_MODELS=/home/runner/.ollama/models ollama serve &
sleep 3
- name: Pull Ollama model
run: OLLAMA_MODELS=/home/runner/.ollama/models ollama pull qwen2.5:1.5b
- name: Setup
uses: ./.github/actions/setup
- name: Install Playwright browsers
run: pnpm exec playwright install --with-deps chromium
- name: Build production app
run: pnpm build
env:
# These env vars must match the runtime values for token encryption/decryption to work
BETTER_AUTH_SECRET: test-only-not-a-real-better-auth-secret
OIDC_PROVIDER_ID: oidc
- name: Run Playwright tests
run: pnpm test:e2e
- name: Upload test artifacts
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
if: failure()
with:
name: playwright-report
path: |
test-results/
playwright-report/
retention-days: 7