From 2488d1ee818a927affc5bee39bb6e21602218684 Mon Sep 17 00:00:00 2001 From: Brian Benjamin Maranville Date: Wed, 19 Oct 2022 18:49:42 -0400 Subject: [PATCH] generic test build --- .github/workflows/test_build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/test_build.yml diff --git a/.github/workflows/test_build.yml b/.github/workflows/test_build.yml new file mode 100644 index 0000000..bf11fff --- /dev/null +++ b/.github/workflows/test_build.yml @@ -0,0 +1,24 @@ +name: Test Build +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the main branch + push: + branches: [ master ] + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: setup node + uses: actions/setup-node@v2 + with: + node-version: '16' + - name: Build library + run: | + npm install + npm run build