Skip to content

docs: update example #58

docs: update example

docs: update example #58

Workflow file for this run

name: Test
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
run: curl -f https://get.pnpm.io/v6.14.js | node - add --global pnpm@8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- run: pnpm i
- run: pnpm run test:coverage
- name: Upload to Codecov
uses: codecov/codecov-action@v4
with:
files: ./coverage/clover.xml # optional
flags: unittests # optional
name: codecov-umbrella # optional
fail_ci_if_error: false # optional (default = false)
verbose: false # optional (default = false)