Skip to content

adjusting timeouts for GHA runs and adjusting GHA runner settings #6

adjusting timeouts for GHA runs and adjusting GHA runner settings

adjusting timeouts for GHA runs and adjusting GHA runner settings #6

name: Extension Test
on:
push:
branches: [ feature/integrationTestCI ]
pull_request:
branches: [ feature/integrationTestCI ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
env:
DISPLAY: :99
steps:
- uses: actions/checkout@v4
- name: Create .test_env file
run: |
echo "OPENROUTER_API_KEY=${{ secrets.OPENROUTER_API_KEY }}" > .test_env
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install dependencies
run: npm run install:all
- name: Compile TypeScript
run: npm run compile
- name: Run tests
run: xvfb-run -a npm run test:extension