From bdfd2774a16e7a832c83ef58b05b1a39dd4078ac Mon Sep 17 00:00:00 2001 From: Cristina Guncay Date: Fri, 20 Mar 2020 09:26:39 -0500 Subject: [PATCH] add git actions --- .github/workflows/node.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/node.yml diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml new file mode 100644 index 000000000..5d47417db --- /dev/null +++ b/.github/workflows/node.yml @@ -0,0 +1,26 @@ +name: Node.js CI + +on: [push] + +jobs: + build: + + runs-on: macos-latest + + strategy: + matrix: + node-version: [12.x] + + steps: + - name: Clone and checkout branch + uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: Install dependencies + run: npm install + - name: Run the test + run: npm test + env: + CI: true