Skip to content

Open in Fink link does not include branch | Sherlock 🕵️‍♂️ #2918

Open in Fink link does not include branch | Sherlock 🕵️‍♂️

Open in Fink link does not include branch | Sherlock 🕵️‍♂️ #2918

name: Test ide-extension with E2E tests
on:
pull_request:
paths:
- 'inlang/source-code/ide-extension/**'
- '.github/workflows/**'
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest ]
version: [18]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Setup Pnpm
uses: pnpm/action-setup@v2
with:
version: 9
- name: Install node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.version }}
- name: Install dependencies
run: pnpm install
- name: Install Doppler CLI for env variables
uses: dopplerhq/cli-action@v2
- name: Build
run: doppler run -- pnpm build
timeout-minutes: 15
env:
# NODE_OPTIONS: "--max-old-space-size=15192"
DOPPLER_TOKEN: ${{ secrets.DOPPLER_PRODUCTION_ENV_TOKEN }}
- name: Run e2e tests on Linux
uses: coactions/setup-xvfb@v1
if: startsWith(matrix.os, 'ubuntu')
with:
run: pnpm --filter vs-code-extension run test:e2e
- name: Run e2e tests on Windows
if: startsWith(matrix.os, 'windows')
shell: bash
run: |
pnpm config set script-shell "$(which bash)"
pnpm --filter vs-code-extension run test:e2e