Skip to content

fix: resolve review comments #97

fix: resolve review comments

fix: resolve review comments #97

Workflow file for this run

name: Test Pull Request
on:
pull_request:
types:
- opened
- reopened
- synchronize
push:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
name: Run js tests
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run tests
run: |
npm run lint
npm run build
npm run docs
- name: Run code coverage test
run: npm run cover
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3