feat(ci): run e2e tests on macos during ci (#4422)

This commit is contained in:
Nick Salerni 2025-07-21 21:01:20 -07:00 committed by GitHub
parent ffa42a79dd
commit 5f813ef510
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 26 additions and 2 deletions

View File

@ -8,8 +8,8 @@ on:
merge_group:
jobs:
e2e-test:
name: E2E Test - ${{ matrix.sandbox }}
e2e-test-linux:
name: E2E Test (Linux) - ${{ matrix.sandbox }}
runs-on: ubuntu-latest
strategy:
matrix:
@ -47,3 +47,27 @@ jobs:
env:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
run: npm run test:integration:${{ matrix.sandbox }} -- --verbose --keep-output
e2e-test-macos:
name: E2E Test - macOS
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 20.x
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build project
run: npm run build
- name: Run E2E tests
env:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
run: npm run test:e2e