From 4d65903a955f46f4e50f0a2b6008ab143794f879 Mon Sep 17 00:00:00 2001 From: Patrick Ellis Date: Wed, 2 Jun 2021 12:16:40 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Add=20"Build=20&=20Test"=20Workf?= =?UTF-8?q?low=20(#145)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build_test.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/build_test.yml diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml new file mode 100644 index 0000000..ec6ba94 --- /dev/null +++ b/.github/workflows/build_test.yml @@ -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