fix: typo in README.md #127
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: Workflow for Codecov Action | |
on: [pull_request] | |
jobs: | |
run: | |
permissions: read-all | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, windows-latest, ubuntu-latest] | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Install dependencies | |
run: npm install | |
- name: Lint | |
run: npm run lint | |
- name: Upload test results to Codecov (calculator) | |
uses: ./ | |
with: | |
fail_ci_if_error: true | |
files: ./demo/calculator/junit.xml | |
flags: ${{ matrix.os }} | |
verbose: true | |
token: ${{ secrets.CODECOV_ORG_TOKEN }} | |
- name: Upload test results to Codecov (demo) | |
uses: ./ | |
with: | |
fail_ci_if_error: true | |
files: ./demo/coverage-test/junit.xml | |
flags: ${{ matrix.os }} | |
verbose: true | |
token: ${{ secrets.CODECOV_ORG_TOKEN }} | |
- name: Upload test results to Codecov (calculator) (staging) | |
uses: ./ | |
with: | |
fail_ci_if_error: true | |
files: ./demo/calculator/junit.xml | |
flags: ${{ matrix.os }} | |
verbose: true | |
url: ${{ secrets.CODECOV_STAGING_URL }} | |
token: ${{ secrets.CODECOV_ORG_TOKEN_STAGING }} | |
- name: Upload test results to Codecov (demo) (staging) | |
uses: ./ | |
with: | |
fail_ci_if_error: true | |
url: ${{ secrets.CODECOV_STAGING_URL }} | |
token: ${{ secrets.CODECOV_ORG_TOKEN_STAGING }} | |
files: ./demo/coverage-test/junit.xml | |
flags: ${{ matrix.os }} | |
verbose: true |