Skip to content

feat: upgrade api layer #2142

feat: upgrade api layer

feat: upgrade api layer #2142

Workflow file for this run

name: Code checks
on:
push:
branches:
- main
tags-ignore:
- '**'
paths-ignore:
- '**/CHANGELOG.md'
- '**/package.json'
pull_request:
workflow_dispatch:
jobs:
test-unit:
runs-on: ubuntu-latest
steps:
- name: Prepare testing env
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '18.9.0'
- run: npm install -g [email protected]
- run: pnpm i
- name: Run unit tests
run: pnpm run test --coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}