feat: Implementing count, findByIds, find, findOne and remove across all the available models automatically. #2
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: Continuous integration | |
concurrency: | |
group: ${{ github.head_ref }}${{ github.ref }}-wallet-sdk | |
cancel-in-progress: true | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build-and-test: | |
name: Build and test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "lts/*" | |
- name: Install | |
run: npm install | |
- name: Eslint | |
run: npx eslint . | |
- name: Build | |
run: npm run build | |
- name: Run coverage test | |
run: npm run coverage | |
- name: Npm audit | |
uses: oke-py/npm-audit-action@v2.4.4 | |
with: | |
audit_level: moderate | |
create_issues: false | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Coverage Comment | |
uses: MishaKav/jest-coverage-comment@v1.0.23 | |
with: | |
coverage-summary-path: coverage/coverage-summary.json |