Skip to content

Commit

Permalink
Use Nx for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Peeja committed Jan 28, 2025
1 parent 02b6b50 commit dc85389
Show file tree
Hide file tree
Showing 11 changed files with 32 additions and 441 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/access-client.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/blob-index.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/capabilities.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI
on:
push:
branches:
- main
pull_request:

# Needed for nx-set-shas when run on the main branch
permissions:
actions: read
contents: read

jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Fetch full history so `nx affected` can determine what to run
fetch-depth: 0
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
cache: 'pnpm'
- name: Install dependencies
run: pnpm install

# Set the base and head that `nx affected` will use
- uses: nrwl/nx-set-shas@v4

# Run CI tasks over all affected projects
- run: npx nx affected -t typecheck lint build test depcheck attw
43 changes: 0 additions & 43 deletions .github/workflows/cli.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/did-mailto.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/filecoin-api.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/filecoin-client.yml

This file was deleted.

79 changes: 0 additions & 79 deletions .github/workflows/upload-api.yml

This file was deleted.

Loading

0 comments on commit dc85389

Please sign in to comment.