diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml new file mode 100644 index 00000000..c99d04d9 --- /dev/null +++ b/.github/workflows/nodejs.yml @@ -0,0 +1,27 @@ +name: Node CI + +on: + push: + branches: + - master + - staging + +jobs: + build: + runs-on: ubuntu-latest + 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