feat: the extension now indicates when its workig on a slice etc. - #97 #440
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] | |
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 |