Skip to content

refactor: filecoin api services events and tests #116

refactor: filecoin api services events and tests

refactor: filecoin api services events and tests #116

Workflow file for this run

name: Filecoin Client
env:
CI: true
FORCE_COLOR: 1
on:
push:
branches:
- main
paths:
- 'packages/filecoin-client/**'
- '.github/workflows/filecoin-client.yml'
- 'pnpm-lock.yaml'
pull_request:
paths:
- 'packages/filecoin-client/**'
- '.github/workflows/filecoin-client.yml'
- 'pnpm-lock.yaml'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node_version:
- 18
- 20
steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
cache: 'pnpm'
- run: pnpm install
- run: pnpm run build
- run: pnpm -r --filter @web3-storage/filecoin-client run lint
- run: pnpm -r --filter @web3-storage/filecoin-client run test