Skip to content

[release:patch] Fix: robustify against trailing paths #436

[release:patch] Fix: robustify against trailing paths

[release:patch] Fix: robustify against trailing paths #436

Workflow file for this run

name: test
on:
push:
pull_request:
types: [opened, synchronize]
branches: [main]
workflow_call:
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