Skip to content

Commit 4432e46

Browse files
authored
Release 20260211 (#3749)
2 parents d6a914e + a6df342 commit 4432e46

113 files changed

Lines changed: 4062 additions & 2412 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"access": "public",
55
"baseBranch": "main",
66
"updateInternalDependencies": "patch",
7-
"changelog": false,
7+
"changelog": "@changesets/changelog-git",
88
"bumpVersionsWithWorkspaceProtocolOnly": true,
99
"privatePackages": {
1010
"version": true,

.github/workflows/cd-deploy-contracts.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ on:
44
workflow_dispatch:
55
inputs:
66
network:
7-
description: 'network'
7+
description: "network"
88
required: true
99
escrowFactory:
10-
description: 'deploy escrow factory'
10+
description: "deploy escrow factory"
1111
required: true
1212

1313
jobs:
@@ -40,7 +40,7 @@ jobs:
4040
node-version-file: .nvmrc
4141
cache: yarn
4242
- name: Install dependencies
43-
run: yarn --immutable
43+
run: yarn workspaces focus @human-protocol/core
4444
- name: Build core package
4545
run: yarn workspace @human-protocol/core build
4646
- name: Networks list
@@ -140,9 +140,7 @@ jobs:
140140
uses: EndBug/add-and-commit@v9
141141
with:
142142
add: "['./packages/core/.openzeppelin']"
143-
message: 'Update upgrade file from CD'
143+
message: "Update upgrade file from CD"
144144
default_author: github_actions
145-
tag_push: '--force'
145+
tag_push: "--force"
146146
github_token: ${{ secrets.GH_TOKEN_CD_CONTRACTS }}
147-
148-

.github/workflows/cd-python-sdk.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,10 @@ jobs:
3030
run: |
3131
git config --global user.name "github-actions[bot]"
3232
git config --global user.email "github-actions[bot]@users.noreply.github.com"
33-
- uses: actions/setup-node@v4
33+
- uses: actions/setup-node@v6
3434
with:
3535
node-version-file: .nvmrc
3636
cache: yarn
37-
- name: Install JS dependencies
38-
run: yarn install
39-
- name: Build core package
40-
run: yarn workspace @human-protocol/core build
4137
- name: Set up Python
4238
uses: actions/setup-python@v6
4339
with:

.github/workflows/cd-subgraph.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ on:
33
workflow_dispatch:
44
inputs:
55
label:
6-
description: 'New version label'
6+
description: "New version label"
77
required: true
88
networks:
9-
description: 'Comma-separated list of networks to deploy'
9+
description: "Comma-separated list of networks to deploy"
1010
required: true
1111

1212
jobs:
@@ -48,10 +48,10 @@ jobs:
4848
echo "::set-output name=continue::$MATCH"
4949
- name: Install dependencies
5050
if: steps.filter_networks.outputs.continue == 'true'
51-
run: yarn install --immutable
52-
- name: Build core package
51+
run: yarn workspaces focus @tools/subgraph
52+
- name: Build packages (scoped)
5353
if: steps.filter_networks.outputs.continue == 'true'
54-
run: yarn workspace @human-protocol/core build
54+
run: yarn workspaces foreach -Rpt --from @tools/subgraph run build
5555
- name: Generate and build Subgraph
5656
if: steps.filter_networks.outputs.continue == 'true'
5757
run: yarn generate && yarn build
@@ -61,12 +61,12 @@ jobs:
6161
- name: Authenticate & Deploy
6262
if: steps.filter_networks.outputs.continue == 'true'
6363
env:
64-
API_KEY: ${{ secrets.HP_GRAPH_API_KEY }}
65-
NETWORK: ${{ matrix.network.name }}
66-
LABEL: ${{ github.event.inputs.label }}
64+
API_KEY: ${{ secrets.HP_GRAPH_API_KEY }}
65+
NETWORK: ${{ matrix.network.name }}
66+
LABEL: ${{ github.event.inputs.label }}
6767
working-directory: ./packages/sdk/typescript/subgraph
6868
run: |
6969
yarn dlx @graphprotocol/graph-cli@0.71.2 \
7070
auth --studio "$API_KEY"
7171
yarn dlx @graphprotocol/graph-cli@0.71.2 \
72-
deploy --studio ${NETWORK} -l ${LABEL}
72+
deploy --studio ${NETWORK} -l ${LABEL}

.github/workflows/ci-test-core.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Protocol check
22

33
on:
44
push:
5-
branches: '**'
5+
branches: "**"
66
paths:
7-
- 'packages/core/**'
7+
- "packages/core/**"
88

99
jobs:
1010
core-test:
@@ -17,6 +17,6 @@ jobs:
1717
node-version-file: .nvmrc
1818
cache: yarn
1919
- name: Install dependencies
20-
run: yarn install --immutable
20+
run: yarn workspaces focus @human-protocol/core
2121
- name: Run protocol test
2222
run: yarn workspace @human-protocol/core test

.github/workflows/ci-test-cvat-recording-oracle.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: CVAT Recording Oracle Tests
22

33
on:
44
push:
5-
branches: '**'
5+
branches: "**"
66
paths:
7-
- 'packages/examples/cvat/recording-oracle/**'
8-
- 'packages/core/**'
7+
- "packages/examples/cvat/recording-oracle/**"
8+
- "packages/core/**"
99

1010
jobs:
1111
cvat-exo-test:

.github/workflows/ci-test-dashboard.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Dashboard Check
22

33
on:
44
push:
5-
branches: '**'
5+
branches: "**"
66
paths:
77
- "packages/core/**"
88
- "packages/sdk/typescript/human-protocol-sdk/**"
@@ -19,8 +19,8 @@ jobs:
1919
node-version-file: .nvmrc
2020
cache: yarn
2121
- name: Install dependencies
22-
run: yarn install --immutable
23-
- name: Build libs
24-
run: yarn build:libs
22+
run: yarn workspaces focus @apps/dashboard-server
23+
- name: Build libs (scoped)
24+
run: yarn workspaces foreach -Rpt --from @apps/dashboard-server run build
2525
- name: Run dashboard Server test
2626
run: yarn workspace @apps/dashboard-server test

.github/workflows/ci-test-faucet-server.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Faucet server check
22

33
on:
44
push:
5-
branches: '**'
5+
branches: "**"
66
paths:
77
- "packages/core/**"
88
- "packages/sdk/typescript/human-protocol-sdk/**"
@@ -19,9 +19,9 @@ jobs:
1919
node-version-file: .nvmrc
2020
cache: yarn
2121
- name: Install dependencies
22-
run: yarn install --immutable
23-
- name: Build libs
24-
run: yarn build:libs
22+
run: yarn workspaces focus @apps/faucet-server
23+
- name: Build libs (scoped)
24+
run: yarn workspaces foreach -Rpt --from @apps/faucet-server run build
2525
- name: Create .env file
2626
run: cp .env.example .env
2727
working-directory: packages/apps/faucet/server

.github/workflows/ci-test-fortune.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Fortune check
22

33
on:
44
push:
5-
branches: '**'
5+
branches: "**"
66
paths:
77
- "packages/core/**"
88
- "packages/sdk/typescript/human-protocol-sdk/**"
@@ -19,9 +19,9 @@ jobs:
1919
node-version-file: .nvmrc
2020
cache: yarn
2121
- name: Install dependencies
22-
run: yarn install --immutable
23-
- name: Build libs
24-
run: yarn build:libs
22+
run: yarn workspaces focus @apps/fortune-exchange-oracle-server
23+
- name: Build libs (scoped)
24+
run: yarn workspaces foreach -Rpt --from @apps/fortune-exchange-oracle-server run build
2525
- name: Run Exchange Oracle tests
2626
run: yarn workspace @apps/fortune-exchange-oracle-server test
2727

@@ -35,8 +35,8 @@ jobs:
3535
node-version-file: .nvmrc
3636
cache: yarn
3737
- name: Install dependencies
38-
run: yarn install --immutable
39-
- name: Build libs
40-
run: yarn build:libs
38+
run: yarn workspaces focus @apps/fortune-recording-oracle
39+
- name: Build libs (scoped)
40+
run: yarn workspaces foreach -Rpt --from @apps/fortune-recording-oracle run build
4141
- name: Run Recording Oracle tests
4242
run: yarn workspace @apps/fortune-recording-oracle test

.github/workflows/ci-test-human-app.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Human App Check
22

33
on:
44
push:
5-
branches: '**'
5+
branches: "**"
66
paths:
77
- "packages/core/**"
88
- "packages/sdk/typescript/human-protocol-sdk/**"
@@ -19,8 +19,8 @@ jobs:
1919
node-version-file: .nvmrc
2020
cache: yarn
2121
- name: Install dependencies
22-
run: yarn install --immutable
23-
- name: Build libs
24-
run: yarn build:libs
22+
run: yarn workspaces focus @apps/human-app-server
23+
- name: Build libs (scoped)
24+
run: yarn workspaces foreach -Rpt --from @apps/human-app-server run build
2525
- name: Run Job Human App unit tests
2626
run: yarn workspace @apps/human-app-server test

0 commit comments

Comments
 (0)