From 207243a05e2c5e5611d2c5ba7ff33341c7fef611 Mon Sep 17 00:00:00 2001 From: mkorwel Date: Fri, 24 Apr 2026 18:51:10 +0000 Subject: [PATCH] ci: add Mac E2E test job --- .github/workflows/ci-bundling-trial.yml | 34 +++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/.github/workflows/ci-bundling-trial.yml b/.github/workflows/ci-bundling-trial.yml index 262fc5a169..3ae08a2fc5 100644 --- a/.github/workflows/ci-bundling-trial.yml +++ b/.github/workflows/ci-bundling-trial.yml @@ -302,3 +302,37 @@ jobs: VERBOSE: 'true' run: 'npm run test:integration:sandbox:none' shell: 'bash' + + test_e2e_mac: + name: 'e2e:mac' + runs-on: 'macos-latest' + steps: + - name: 'Checkout' + uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8' + + - name: 'Set up Node.js' + uses: 'actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020' + with: + node-version-file: '.nvmrc' + cache: 'npm' + + - name: 'Install dependencies' + run: 'npm ci' + + - name: 'Build project' + run: 'npm run build' + + - name: 'Build Bundle' + run: 'npm run bundle' + + - name: 'Fix rollup optional dependencies on macOS' + run: 'npm cache clean --force' + shell: 'bash' + + - name: 'Run Integration Tests' + env: + GEMINI_API_KEY: '${{ secrets.GEMINI_API_KEY }}' + KEEP_OUTPUT: 'true' + VERBOSE: 'true' + run: 'npm run test:integration:sandbox:none' + shell: 'bash'