Skip to content

Merge pull request #90 from bad4iz/feature/vitest-coverage-file-witho… #26

Merge pull request #90 from bad4iz/feature/vitest-coverage-file-witho…

Merge pull request #90 from bad4iz/feature/vitest-coverage-file-witho… #26

Workflow file for this run

name: 'Test Branch'
on:
push:
branches:
- develop
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 'Install Node'
uses: actions/setup-node@v2
with:
node-version: '18.x'
- name: 'Install Deps'
run: npm install
- name: 'Test'
run: npx vitest --coverage
- name: 'Report Coverage'
if: always() # Also generate the report if tests are failing
uses: davelosert/vitest-coverage-report-action@v1