From 4e604aa2d5b899317f45ecc532c51a34122a6773 Mon Sep 17 00:00:00 2001 From: Ron Buckton Date: Wed, 13 Dec 2023 11:53:32 -0500 Subject: [PATCH] Create ci.yml --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..0a0f5be --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +name: Build + +on: + push: + branches: [ "main", "release-*" ] + pull_request: + branches: [ "main", "release-*" ] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [14.x, 16.x, 18.x] + + steps: + - uses: actions/checkout@v3 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Build + run: | + npm install + gulp