Skip to content

Commit

Permalink
chore: clean up workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed Dec 2, 2022
1 parent 2805ba9 commit f615c55
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/access-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- run: pnpm install
- run: pnpm -r --filter @web3-storage/access-api run lint
- run: pnpm -r --filter @web3-storage/access-api run test
- run: pnpm --filter @web3-storage/access-api -r exec depcheck
- run: pnpm -r --filter @web3-storage/access-api exec depcheck
deploy-staging:
needs: test
if: github.head_ref == 'release-please--branches--main--components--access-api'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/access-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
node-version: 18
cache: 'pnpm'
- run: pnpm install
- run: pnpm -r --filter @web3-storage/access run build
- run: pnpm run build
- run: pnpm -r --filter @web3-storage/access run lint
- run: pnpm -r --filter @web3-storage/access run test
- run: pnpm --filter @web3-storage/access -r exec depcheck
- run: pnpm -r --filter @web3-storage/access exec depcheck
22 changes: 6 additions & 16 deletions .github/workflows/capabilities.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,17 @@ on:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
pnpm-version:
- 7
node-version:
- 18
package:
- capabilities
steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
with:
version: ${{ matrix.pnpm-version }}
version: 7
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 18
cache: 'pnpm'
- run: pnpm install
- name: Typecheck
uses: gozala/[email protected]
with:
project: packages/${{matrix.package}}/tsconfig.json
- run: pnpm -r --filter @web3-storage/${{matrix.package}} run lint
- run: pnpm -r --filter @web3-storage/${{matrix.package}} run test
- 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
4 changes: 2 additions & 2 deletions .github/workflows/upload-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
node-version: 18
cache: 'pnpm'
- run: pnpm install
- run: pnpm -r --filter @web3-storage/upload-client run build
- run: pnpm run build
- run: pnpm -r --filter @web3-storage/upload-client run lint
- run: pnpm -r --filter @web3-storage/upload-client run test
- run: pnpm --filter @web3-storage/access-api -r exec depcheck
- run: pnpm -r --filter @web3-storage/upload-client exec depcheck

0 comments on commit f615c55

Please sign in to comment.