From 52407c7db01d7f15e18ab6883a68688ee94c72f6 Mon Sep 17 00:00:00 2001 From: Pavel Strunkin Date: Mon, 27 Jul 2020 21:37:00 +0200 Subject: [PATCH] Create workflow.yml --- .github/workflows/workflow.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/workflow.yml diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 0000000..b5e9a80 --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,26 @@ +name: CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Setup Node.js environment + uses: actions/setup-node@v1.4.2 + + - name: Install npm dependencies + run: npm ci + + - name: Unit tests + run: npm run test:cov + + - name: Codecov + uses: codecov/codecov-action@v1.0.11