Upgraded axios page version #417
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: Unit Test & Reports | |
on: | |
pull_request: | |
branches: | |
- master | |
- main | |
- next | |
jobs: | |
build-test: | |
name: Build & Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 # checkout the repo | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20.x' | |
registry-url: 'https://registry.npmjs.org' | |
- run: npm ci # install packages | |
- run: npm run test:unit:report:json # run tests (configured to use jest-junit reporter) | |
- name: Test Report | |
uses: dorny/test-reporter@v1 | |
if: success() || failure() # run this step even if previous step failed | |
with: | |
name: Mocha Unit test # Name of the check run which will be created | |
path: report.json # Path to test results | |
reporter: mocha-json # Format of test results | |
- name: Coverage report | |
uses: lucassabreu/comment-coverage-clover@main | |
with: | |
file: coverage/clover.xml |