diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index d710845d..f9f82422 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -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