Skip to content

Commit

Permalink
Add a basic Github workflow file
Browse files Browse the repository at this point in the history
The file is from VS Code's CI documentation:
https://code.visualstudio.com/api/working-with-extensions/continuous-integration#github-actions.
I'll add to it with specific issues to implement linting, packaging,
etc.

closes #5
  • Loading branch information
brobeson committed Aug 26, 2022
1 parent e322631 commit 3a3ffcd
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Node.js CI

on:
workflow_dispatch:
push:
pull_request:

jobs:
build:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- run: npm install
- run: xvfb-run --auto-servernum npm test
if: runner.os == 'Linux'
- run: npm test
if: runner.os != 'Linux'

0 comments on commit 3a3ffcd

Please sign in to comment.