Skip to content

comment about why we're using xvfb #10

comment about why we're using xvfb

comment about why we're using xvfb #10

Workflow file for this run

name: test
on:
push:
pull_request:
types: [opened, synchronize]
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 21.6.x
registry-url: 'https://registry.npmjs.org/'
- name: Install dependencies
run: npm ci
- name: Test
# VSCode tests require the app's window to be opened, so we use xvfb to give the runner a display
# (https://code.visualstudio.com/api/working-with-extensions/continuous-integration#github-actions)
uses: coactions/setup-xvfb@v1
with:
run: npm run test