chore: add space encryption capabilities type definitions (#692) #1406
This file contains hidden or 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: 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@v5 | |
| with: | |
| # Fetch full history so `nx affected` can determine what to run | |
| fetch-depth: 0 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| cache: 'pnpm' | |
| node-version: 24 | |
| - name: Install npm package dependencies | |
| run: pnpm install --frozen-lockfile | |
| # Clean stale TypeScript build info files that prevent types.d.ts generation | |
| - name: Clean stale build artifacts | |
| run: | | |
| find packages -name "*.tsbuildinfo" -delete | |
| pnpm nx reset | |
| # pre-build console to get around some odd bugs that seem to be related to nx 21 | |
| # TODO: Try to get rid of this later. If the build ever succeeds without | |
| # running this step first, it's working correctly, and we can delete this. | |
| - name: Pre-build console | |
| shell: bash | |
| working-directory: ./packages/console | |
| run: | | |
| pnpm install | |
| pnpm nx build @storacha/ui-core | |
| pnpm nx build @storacha/ui-react | |
| pnpm build | |
| # Set the base and head that `nx affected` will use | |
| - uses: nrwl/nx-set-shas@v4 | |
| env: | |
| NX_VERBOSE_LOGGING: ${{ runner.debug && 'true' || 'false' }} | |
| - name: Prepare environment | |
| run: pnpm nx affected -t prepare-environment | |
| env: | |
| NX_VERBOSE_LOGGING: ${{ runner.debug && 'true' || 'false' }} | |
| # Run CI tasks over all affected projects | |
| # TODO: Add `attw` back once fixed. | |
| - run: pnpm nx affected -t typecheck lint build test depcheck | |
| env: | |
| NX_VERBOSE_LOGGING: ${{ runner.debug && 'true' || 'false' }} |