chore: reduce contract sizes to fit 24kb HorizonStaking and SubgraphService #461
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 - packages/horizon | |
| env: | |
| CI: true | |
| on: | |
| push: | |
| branches: "*" | |
| paths: | |
| - packages/horizon/** | |
| pull_request: | |
| branches: "*" | |
| paths: | |
| - packages/horizon/** | |
| workflow_dispatch: | |
| jobs: | |
| test-ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Set up environment | |
| uses: ./.github/actions/setup | |
| - name: Build contracts | |
| run: | | |
| pushd packages/contracts | |
| yarn build | |
| popd | |
| - name: Build horizon | |
| run: | | |
| pushd packages/horizon | |
| yarn build | |
| popd | |
| - name: Build subgraph service | |
| run: | | |
| pushd packages/subgraph-service | |
| yarn build | |
| popd | |
| - name: Build hardhat-graph-protocol | |
| run: | | |
| pushd packages/hardhat-graph-protocol | |
| yarn build | |
| popd | |
| - name: Run tests | |
| run: | | |
| pushd packages/horizon | |
| yarn test |