Merge pull request #494 from ensdomains/fix/deploy-multicalll #790
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: [staging, mainnet] | |
| pull_request: | |
| jobs: | |
| wiki_address_check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Bun 1.2.3 | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 1.2.3 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .nvmrc | |
| - run: bun install --frozen-lockfile | |
| - name: Run wiki check | |
| run: bun wiki check | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Bun 1.2.3 | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 1.2.3 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .nvmrc | |
| - run: bun install --frozen-lockfile | |
| - name: Run tests | |
| run: bun run build | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Bun 1.2.3 | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 1.2.3 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .nvmrc | |
| - name: Install Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| - run: bun install --frozen-lockfile | |
| - name: Compile contracts and generate artifacts | |
| run: bun run compile | |
| - name: Run tests | |
| run: bun run test | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Bun 1.2.3 | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 1.2.3 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .nvmrc | |
| - run: bun install --frozen-lockfile | |
| - name: Install Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| - name: Compile contracts and generate artifacts | |
| run: bun run compile | |
| - name: Run deploy | |
| run: bun run test:deploy |