refactor: use contract addresses from sdk #2683
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: Fortune check | |
on: | |
push: | |
paths: | |
- 'packages/core/**' | |
- 'packages/sdk/typescript/human-protocol-sdk/**' | |
- 'packages/apps/fortune/**' | |
jobs: | |
fortune-exchange-oracle-test: | |
name: Fortune Exchange Oracle Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
cache: yarn | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Build libs | |
run: yarn build:libs | |
- name: Run Exchange Oracle tests | |
run: yarn workspace @human-protocol/fortune-exchange-oracle-server test | |
fortune-recording-oracle-test: | |
name: Fortune Recording Oracle Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
cache: yarn | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Build libs | |
run: yarn build:libs | |
- name: Run Recording Oracle tests | |
run: yarn workspace @human-protocol/fortune-recording-oracle test |