chore: Add pnpm dev
to watch-build all packages
#1613
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Capabilities | |
env: | |
CI: true | |
FORCE_COLOR: 1 | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'packages/capabilities/**' | |
- 'packages/eslint-config-w3up/**' | |
- '.github/workflows/capabilities.yml' | |
- 'pnpm-lock.yaml' | |
pull_request: | |
paths: | |
- 'packages/capabilities/**' | |
- 'packages/eslint-config-w3up/**' | |
- '.github/workflows/capabilities.yml' | |
- 'pnpm-lock.yaml' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm run build | |
- run: pnpm -r --filter @web3-storage/capabilities run lint | |
- run: pnpm -r --filter @web3-storage/capabilities run test | |
- run: pnpm -r --filter @web3-storage/capabilities exec depcheck |