Skip to content

Commit fa3e13b

Browse files
committed
First go at GH actions
1 parent 39ad547 commit fa3e13b

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed
File renamed without changes.

.github/workflows/test.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
name: Test VS Code Extension
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
branches:
10+
- main
11+
workflow_dispatch:
12+
13+
jobs:
14+
test-extension:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: latest
22+
23+
- name: Update build environment and install XVFB
24+
run: |
25+
sudo apt-get -y update
26+
sudo apt-get -y install --fix-missing xvfb
27+
28+
- name: Compile and run tests
29+
run: |
30+
yarn install --immutable --immutable-cache --check-cache
31+
yarn test-vscode

0 commit comments

Comments
 (0)