From 465f45515d7cd15c050af565404eea4f23346633 Mon Sep 17 00:00:00 2001 From: nemanjamart <72038561+nemanjamart@users.noreply.github.com> Date: Fri, 23 Sep 2022 15:42:59 -0400 Subject: [PATCH] Create build/test CI with GitHub Actions --- .github/workflows/node.js.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/node.js.yml diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000..f78fb60 --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,19 @@ +name: Node.js Build/Test + +on: [pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js 16 + uses: actions/setup-node@v3 + with: + node-version: 16.x + cache: 'npm' + - run: npm install + - run: npm run build + - run: npm test