diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..ecae139 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +name: Build and Deploy +on: + push: + branches: + - master +jobs: + test: + name: Test + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@master + - name: Install Dependencies + run: npm install + - name: Run Test + run: npm run test:coverage + - name: Upload Coverage + uses: codecov/codecov-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }}