Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches: [main]
pull_request:
workflow_dispatch:

# The workflow only checks out code and runs tests; it never needs write access.
permissions:
Expand Down Expand Up @@ -35,6 +36,7 @@ jobs:
run: npm test

- name: Build production bundle
if: ${{ github.event_name != 'pull_request' }}
run: npm run build

- name: Install Playwright Chromium
Expand All @@ -44,6 +46,7 @@ jobs:
run: npm run test:ui

- name: Run accessibility modal tests
if: ${{ github.event_name != 'pull_request' }}
run: npm run test:accessibility

- name: Run deploy guard
Expand All @@ -53,6 +56,7 @@ jobs:
run: npm run test:proxies

- name: Scan production bundle for API key/endpoint leaks
if: ${{ github.event_name != 'pull_request' }}
run: python3 scripts/scan_bundle_for_leaks.py

# The runner's request validation is the code that rejected
Expand Down Expand Up @@ -84,9 +88,11 @@ jobs:
run: dart test

- name: Build runner image
if: ${{ github.event_name != 'pull_request' }}
run: docker build --tag ccc-ffai-runner:ci cloud-run/ffai-runner

- name: Smoke runner image and current SDK (no credentials)
if: ${{ github.event_name != 'pull_request' }}
run: |
docker run --rm --entrypoint dart \
--volume "$PWD/cloud-run/ffai-runner/tool:/smoke:ro" \
Expand Down
Loading