Skip to content

wip

wip #25

Workflow file for this run

name: 'Test'
on:
push:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20 ]
permissions:
# Required to check out the code
contents: read
# Required to put a comment into the pull-request
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: 'Install Deps'
run: pnpm install --frozen-lockfile
- name: 'Test'
run: pnpm test
# - name: 'Test coverage'
# run: npx vitest --coverage
- name: 'Report Coverage'
if: always() # Also generate the report if tests are failing
uses: davelosert/vitest-coverage-report-action@v2