Skip to content

Merge pull request #97 from Amruth-Vamshi/feature/rajai-otp-service #303

Merge pull request #97 from Amruth-Vamshi/feature/rajai-otp-service

Merge pull request #97 from Amruth-Vamshi/feature/rajai-otp-service #303

Workflow file for this run

name: Node.js CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn install
- run: yarn build
- run: yarn test
- name: Tests
run: yarn test:cov
# - name: Generating coverage badge
# uses: jpb06/jest-badges-action@v1.6.0
# with:
# branches: master
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}