From cda06005e51dff53019241d460d90464220f6815 Mon Sep 17 00:00:00 2001 From: Francisco Hodge Date: Mon, 26 Aug 2019 21:09:27 -0400 Subject: [PATCH] Update nodejs.yml --- .github/workflows/nodejs.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/nodejs.yml diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml new file mode 100644 index 00000000..be95f8e9 --- /dev/null +++ b/.github/workflows/nodejs.yml @@ -0,0 +1,32 @@ +name: Node CI + +on: + push: + branches: + - master + - staging + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [12.x] + + steps: + - uses: actions/checkout@v1 + - name: Use latest Node.js + uses: actions/setup-node@v1 + with: + node-version: latest + - name: npm install, build, and test + run: | + npm install -g codecov + npm install + npm run start -- --testMode + npm run demo + npm run coverage + codecov + env: + CI: true