From ef0edb84de54999b11d36c17fe39caf73ca6e1aa Mon Sep 17 00:00:00 2001 From: Joe Evans Date: Thu, 12 Oct 2023 20:03:48 -0700 Subject: [PATCH] Test out Github Actions workflows. --- .github/workflows/build.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..5c10b92e5 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,17 @@ +name: Node.js CI Build + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: ['14.x', '16.x', '18.x', '20.x'] + steps: + - uses: actions/checkout@v4 + - name: Use Node.js + uses: actions/setup-node@v3 + - run: npm ci + - run: npm run build --if-present + - run: npm test