Skip to content

chore(deps): update actions/checkout digest to 11bd719 #4907

chore(deps): update actions/checkout digest to 11bd719

chore(deps): update actions/checkout digest to 11bd719 #4907

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 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