🧹 Add "Build & Test" Workflow (#145)

This commit is contained in:
Patrick Ellis
2021-06-02 12:16:40 -04:00
committed by GitHub
parent 69990a6043
commit 4d65903a95

28
.github/workflows/build_test.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: Build & Test
on:
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Setup node 14
uses: actions/setup-node@v2
with:
node-version: 14.x
- run: npm install
- run: npm run build
- run: npm test