Skip to content

Commit

Permalink
Create ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
danvratil authored May 24, 2024
1 parent c8f6544 commit c095f39
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Run VSCode Extension Tests

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node.js environment
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: yarn install

- name: Compile
run: yarn compile

- name: Run tests
run: xvfb-run -a yarn test
if: runner.os == 'Linux'

- name: Run tests
run: yarn test
if: runner.os != 'Linux'

0 comments on commit c095f39

Please sign in to comment.