Skip to content

Commit

Permalink
build: Add basic build and test workflow (#2) [skip-ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielku15 authored Mar 31, 2024
1 parent 920c80e commit 6dde077
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
on:
push:
branches:
- main
pull_request_target:
branches:
- main

jobs:
build:
name: Build and Test
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
vscode-version: ['stable', 'insiders']
vscode-platform: ['desktop']
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
- run: npm install
- run: xvfb-run -a npm test
if: runner.os == 'Linux'
- run: npm test
if: runner.os != 'Linux'

0 comments on commit 6dde077

Please sign in to comment.