Skip to content

Chore(deps-dev): Bump vitest, @vitest/coverage-istanbul and @vitest/ui #166

Chore(deps-dev): Bump vitest, @vitest/coverage-istanbul and @vitest/ui

Chore(deps-dev): Bump vitest, @vitest/coverage-istanbul and @vitest/ui #166

Workflow file for this run

name: Unit tests
on:
push:
branches: ['main']
pull_request:
branches: ['main']
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node 18
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Install dev version of shared-lib
run: npm install https://github.com/trainlink-org/shared-lib
- name: Run tests and collect coverage
run: npm run test:coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3