-
Notifications
You must be signed in to change notification settings - Fork 44
42 lines (39 loc) · 1.34 KB
/
ci-test-fortune.yaml
File metadata and controls
42 lines (39 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Fortune check
on:
push:
branches: "**"
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@v6
- uses: actions/setup-node@v6
with:
node-version-file: .nvmrc
cache: yarn
- name: Install dependencies
run: yarn workspaces focus @apps/fortune-exchange-oracle-server
- name: Build libs (scoped)
run: yarn workspaces foreach -Rpt --from @apps/fortune-exchange-oracle-server run build
- name: Run Exchange Oracle tests
run: yarn workspace @apps/fortune-exchange-oracle-server test
fortune-recording-oracle-test:
name: Fortune Recording Oracle Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version-file: .nvmrc
cache: yarn
- name: Install dependencies
run: yarn workspaces focus @apps/fortune-recording-oracle
- name: Build libs (scoped)
run: yarn workspaces foreach -Rpt --from @apps/fortune-recording-oracle run build
- name: Run Recording Oracle tests
run: yarn workspace @apps/fortune-recording-oracle test