added launch config that only includes the extension itself #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |