Repository navigation
fix(session-key): reject zero address in login #2119
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: | |
| - master | |
| paths: | |
| - "packages/**" | |
| - "apps/**" | |
| - .github/workflows/ci.yml | |
| - package.json | |
| - turbo.json | |
| - pnpm-lock.yaml | |
| - pnpm-workspace.yaml | |
| pull_request: | |
| paths: | |
| - "packages/**" | |
| - "apps/**" | |
| - .github/workflows/ci.yml | |
| - package.json | |
| - turbo.json | |
| - pnpm-lock.yaml | |
| - pnpm-workspace.yaml | |
| env: | |
| TURBO_TELEMETRY_DISABLED: 1 | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v7 | |
| - name: Setup pnpm | |
| uses: pnpm/setup@v3 | |
| with: | |
| require-lockfile: true | |
| - name: Generate ABIs | |
| run: | | |
| pnpm -r --filter @filoz/synapse-core run generate-abi | |
| - name: Check for ABI changes | |
| run: | | |
| if [ -n "$(git status --porcelain)" ]; then | |
| echo "Error: ABI generation resulted in changes. Please run 'pnpm run generate-abi' and commit the changes." | |
| git status | |
| git diff | |
| exit 1 | |
| fi | |
| - name: Lint | |
| run: pnpm run lint | |
| - name: Build | |
| run: pnpm run build | |
| test-synapse-sdk: | |
| needs: lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v7 | |
| - name: Setup pnpm | |
| uses: pnpm/setup@v3 | |
| with: | |
| require-lockfile: true | |
| - name: Run synapse-sdk tests | |
| run: pnpm turbo run test --filter=@filoz/synapse-sdk | |
| test-synapse-core: | |
| needs: lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v7 | |
| - name: Setup pnpm | |
| uses: pnpm/setup@v3 | |
| with: | |
| require-lockfile: true | |
| - name: Run synapse-core tests | |
| run: pnpm turbo run test --filter=@filoz/synapse-core | |
| test-keysmith: | |
| needs: lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v7 | |
| - name: Setup pnpm | |
| uses: pnpm/setup@v3 | |
| with: | |
| require-lockfile: true | |
| - name: Run keysmith tests | |
| run: pnpm turbo run test --filter=@filoz/keysmith | |
| test-filecoin-encryption-envelope: | |
| needs: lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v7 | |
| - name: Setup pnpm | |
| uses: pnpm/setup@v3 | |
| with: | |
| require-lockfile: true | |
| - name: Run filecoin-encryption-envelope tests | |
| run: pnpm turbo run test --filter=filecoin-encryption-envelope |