Skip to content

chore(deps): update dependency lint-staged to v15.2.10 #4876

chore(deps): update dependency lint-staged to v15.2.10

chore(deps): update dependency lint-staged to v15.2.10 #4876

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: restore lerna
uses: actions/cache@v4
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: Install project dependencies and build
run: npm i
- name: Install capsule
uses: actions-rs/[email protected]
with:
crate: ckb-capsule
version: latest
- 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@v4