Skip to content

fix: Support send and destory from some lock scripts. #75

fix: Support send and destory from some lock scripts.

fix: Support send and destory from some lock scripts. #75

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/setup-node@v3
with:
node-version: 18
- name: restore lerna
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: Install project dependencies and build
run: npm i
- name: Build packages
run: npm run build
- name: Run test with coverage
run: npx lerna run test -- --coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3