add rate limiting in /sendOTP api #156
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Coverage on Pull Request | |
on: | |
pull_request: | |
branches: | |
- master | |
- main | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: artiomtr/jest-coverage-report-action@v2.0-rc.1 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
threshold: 80 | |
package-manager: yarn | |
test-script: yarn run test:cov | |
- name: SonarCloud Scan | |
uses: sonarsource/sonarcloud-github-action@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |