feat: add local custom networks multisig #544
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: Test_SDK | |
| on: | |
| pull_request: | |
| paths: | |
| - "packages/sdk/src/**" | |
| - "packages/sdk/test/**" | |
| - "packages/sdk/scripts/**" | |
| - "package*.json" | |
| - "packages/sdk/tsconfig*.json" | |
| - "packages/sdk/jest.config.js" | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "packages/sdk/src/**" | |
| - "packages/sdk/test/**" | |
| - "packages/sdk/scripts/**" | |
| - "package*.json" | |
| - "packages/sdk/tsconfig*.json" | |
| - "packages/sdk/jest.config.js" | |
| env: | |
| RPC_NODE_BASE_URL: "https://296.rpc.thirdweb.com" | |
| permissions: | |
| contents: read | |
| jobs: | |
| main: | |
| runs-on: token-studio-linux-medium | |
| container: | |
| image: node:20.17.0-alpine3.20 # Using alpine for a smaller image | |
| permissions: | |
| contents: read | |
| steps: | |
| # * Initial steps | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout repository | |
| uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 | |
| - name: Initial steps | |
| uses: ./.github/actions/initial-steps | |
| with: | |
| deps-contracts-install: "true" | |
| deps-create-env-file: "true" | |
| - name: Create .env file | |
| uses: ./.github/actions/create-env-file | |
| with: | |
| api-access-token-1: ${{ secrets.API_ACCESS_TOKEN_1 }} | |
| api-access-token-2: ${{ secrets.API_ACCESS_TOKEN_2 }} | |
| module: "sdk" | |
| # * Prepare other modules | |
| - name: Install and build Contracts and SDK | |
| uses: ./.github/actions/install-and-build | |
| with: | |
| module: "sdk" | |
| # * Specific steps for the SDK | |
| - name: Run SDK Tests | |
| run: npm run test:ci --workspace=packages/sdk | |
| - name: Clear Cache | |
| run: npm run clear-cache --workspace=packages/sdk |