Merge pull request #65 from emkis/dependabot/npm_and_yarn/micromatch-… #46
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: Upload coverage report | |
on: | |
push: | |
branches: | |
- main | |
- beta | |
jobs: | |
upload: | |
name: Upload | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.15.0] | |
steps: | |
- name: Checkout to branch | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Generate coverage report | |
run: yarn test:unit:coverage | |
- name: Upload coverage report | |
uses: codecov/codecov-action@v3 | |
with: | |
directory: ./coverage | |
fail_ci_if_error: true |