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