Migrate JWT to SIWE for App registration in e2e test utils #612
Workflow file for this run
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: | |
| workflow_dispatch: | |
| env: | |
| FOUNDRY_PROFILE: ci | |
| jobs: | |
| check: | |
| strategy: | |
| fail-fast: true | |
| name: Contract Blockchain Tests | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./packages/libs/contracts-sdk | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10.7.0 | |
| - name: Install Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| with: | |
| version: stable | |
| - name: Run Forge fmt | |
| run: | | |
| forge fmt --check | |
| id: fmt | |
| - name: Install dependencies | |
| run: | | |
| pnpm install | |
| - name: Clean Forge cache | |
| run: | | |
| forge clean | |
| - name: Run Forge build | |
| run: | | |
| forge build --sizes | |
| id: build | |
| - name: Run Regular Forge tests | |
| run: | | |
| forge test --ffi -vvv --no-match-path 'test/**/*ForkTest*.t.sol' | |
| id: test | |
| # - name: Run Forked Forge tests | |
| # env: | |
| # BASE_RPC_URL: ${{ secrets.BASE_RPC_URL }} | |
| # run: | | |
| # LATEST_BLOCK=$(cast block-number --rpc-url "$BASE_RPC_URL") | |
| # forge test --ffi -vvv --match-path 'test/**/*ForkTest*.t.sol' --fork-url "$BASE_RPC_URL" --fork-block-number "$LATEST_BLOCK" | |
| # id: test-forked |