Skip to content

fix(ci): add xvfb for VS Code tests in headless environment #2

fix(ci): add xvfb for VS Code tests in headless environment

fix(ci): add xvfb for VS Code tests in headless environment #2

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run tests
run: xvfb-run -a npm test
- name: Compile extension
run: npm run compile