Update dependency mongo-unit to v3.4.0 #495
This file contains hidden or 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
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
name: Test | |
jobs: | |
test: | |
env: | |
working-directory: ./src | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Node 14.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.x | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Test and Create Coverage Data | |
working-directory: ${{ env.working-directory }} | |
run: npm ci && npm run test-coveralls | |
- name: Coveralls | |
uses: coverallsapp/github-action@v1.1.2 | |
with: | |
github-token: ${{ secrets.github_token }} | |
path-to-lcov: ${{ env.working-directory }}/coverage/lcov.info | |
base-path: ${{ env.working-directory }} |