remove content moderation enums and related code #42
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: Human Protocol Subgraph check | |
| on: | |
| push: | |
| branches: "**" | |
| paths: | |
| - "packages/core/**" | |
| - "packages/subgraph/human-protocol/**" | |
| permissions: | |
| contents: read | |
| jobs: | |
| subgraph-test: | |
| name: Human Protocol Subgraph Test | |
| # TODO: Use ubuntu-latest when graph binary is not failing on ubuntu 24.04 | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: yarn | |
| - name: Install dependencies | |
| run: yarn workspaces focus @tools/subgraph-human-protocol | |
| - name: Build core package | |
| run: yarn workspace @human-protocol/core build | |
| - name: Generate manifest for Polygon for tests | |
| run: NETWORK=polygon yarn workspace @tools/subgraph-human-protocol generate | |
| - name: Run subgraph test | |
| run: yarn workspace @tools/subgraph-human-protocol test |