Skip to content

Commit 69869ce

Browse files
committed
Merge branch 'develop' of github.com:humanprotocol/human-protocol into kb/3254-dashboard-changes
2 parents cbe8bd4 + 93cffbd commit 69869ce

File tree

306 files changed

+36800
-173141
lines changed

Some content is hidden

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

306 files changed

+36800
-173141
lines changed

.github/workflows/cd-core.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@ jobs:
1414
with:
1515
node-version-file: .nvmrc
1616
cache: yarn
17-
- run: yarn --ignore-scripts
18-
name: Install dependencies
19-
- run: yarn build
20-
name: Build core package
21-
working-directory: ./packages/core
17+
- name: Install dependencies
18+
run: yarn install --immutable
19+
- name: Build core package
20+
run: yarn build:core
2221
- name: Change core version
2322
uses: jossef/action-set-json-field@v2
2423
with:

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,9 @@ jobs:
4040
node-version-file: .nvmrc
4141
cache: yarn
4242
- name: Install dependencies
43-
run: yarn --ignore-scripts
44-
- run: yarn build
45-
name: Build core package
46-
working-directory: ./packages/core
43+
run: yarn --immutable
44+
- name: Build core package
45+
run: yarn build:core
4746
- name: Networks list
4847
id: networks
4948
run: |
@@ -104,7 +103,7 @@ jobs:
104103

105104
- name: Verify Escrow Factory Proxy
106105
if: always() && github.event.inputs.escrowFactory == 'true'
107-
run: npx hardhat verify --network ${{ github.event.inputs.network }} ${{ steps.networks.outputs.escrow_factory }}
106+
run: yarn hardhat verify --network ${{ github.event.inputs.network }} ${{ steps.networks.outputs.escrow_factory }}
108107
working-directory: ./packages/core
109108
#Commit changes to develop
110109
- name: Check for Changes

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,10 @@ jobs:
1919
with:
2020
node-version-file: .nvmrc
2121
cache: yarn
22-
- run: yarn --ignore-scripts
23-
name: Install dependencies
24-
- run: yarn build
25-
name: Build core package
26-
working-directory: ./packages/core
22+
- name: Install dependencies
23+
run: yarn install --immutable
24+
- name: Build core package
25+
run: yarn build:core
2726
- name: Change Node.js SDK version
2827
uses: jossef/action-set-json-field@v2
2928
if: ${{ github.event_name != 'workflow_dispatch' }}
@@ -38,8 +37,8 @@ jobs:
3837
file: ./packages/sdk/typescript/human-protocol-sdk/package.json
3938
field: version
4039
value: ${{ github.event.inputs.release_version }}
41-
- run: yarn build
42-
name: Build SDK package
40+
- name: Build SDK package
41+
run: yarn build
4342
working-directory: ./packages/sdk/typescript/human-protocol-sdk
4443
- uses: JS-DevTools/npm-publish@v3
4544
name: Publish

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@ jobs:
2020
node-version-file: .nvmrc
2121
cache: yarn
2222
- name: Install dependencies
23-
run: yarn --ignore-scripts
23+
run: yarn install
2424
- name: Build core package
25-
run: yarn build
26-
working-directory: ./packages/core
25+
run: yarn build:core
2726
- name: Set up Python
2827
uses: actions/setup-python@v5
2928
with:

.github/workflows/cd-subgraph.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,10 @@ jobs:
4949
echo "::set-output name=continue::$MATCH"
5050
- name: Install dependencies
5151
if: steps.filter_networks.outputs.continue == 'true'
52-
run: yarn
52+
run: yarn install --immutable
5353
- name: Build core package
5454
if: steps.filter_networks.outputs.continue == 'true'
55-
run: yarn build
56-
working-directory: ./packages/core
55+
run: yarn build:core
5756
- name: Install Graph CLI
5857
if: steps.filter_networks.outputs.continue == 'true'
5958
run: yarn global add @graphprotocol/[email protected]

.github/workflows/ci-dependency-review.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ jobs:
1414
steps:
1515
- uses: actions/[email protected]
1616
- name: Dependency Review
17-
uses: actions/[email protected]
17+
uses: actions/[email protected]
18+
with:
19+
show-openssf-scorecard: false

.github/workflows/ci-lint.yaml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@ name: Lint check
22

33
on:
44
push:
5-
branches:
6-
- develop
7-
- main
8-
paths-ignore:
9-
- 'packages/examples/cvat/**'
10-
pull_request:
11-
branches:
12-
- develop
13-
- main
145
paths-ignore:
156
- 'packages/examples/cvat/**'
167

@@ -25,6 +16,8 @@ jobs:
2516
node-version-file: .nvmrc
2617
cache: yarn
2718
- name: Install dependencies
28-
run: yarn
19+
run: yarn install --immutable
20+
- name: Build libs
21+
run: yarn build:libs
2922
- name: Run lint
3023
run: yarn lint

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

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@ name: Protocol check
22

33
on:
44
push:
5-
branches:
6-
- develop
7-
- main
8-
pull_request:
9-
branches:
10-
- develop
11-
- main
125
paths:
136
- 'packages/core/**'
147

@@ -23,6 +16,6 @@ jobs:
2316
node-version-file: .nvmrc
2417
cache: yarn
2518
- name: Install dependencies
26-
run: yarn --ignore-scripts
19+
run: yarn install --immutable
2720
- name: Run protocol test
2821
run: yarn workspace @human-protocol/core test

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

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@ name: Dashboard Check
22

33
on:
44
push:
5-
branches:
6-
- develop
7-
- main
8-
pull_request:
9-
branches:
10-
- develop
11-
- main
125
paths:
136
- 'packages/core/**'
147
- 'packages/sdk/typescript/human-protocol-sdk/**'
@@ -25,6 +18,8 @@ jobs:
2518
node-version-file: .nvmrc
2619
cache: yarn
2720
- name: Install dependencies
28-
run: yarn
21+
run: yarn install --immutable
22+
- name: Build libs
23+
run: yarn build:libs
2924
- name: Run dashboard Server test
3025
run: yarn workspace @human-protocol/dashboard-server test

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

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@ name: Faucet server check
22

33
on:
44
push:
5-
branches:
6-
- develop
7-
- main
8-
pull_request:
9-
branches:
10-
- develop
11-
- main
125
paths:
136
- 'packages/core/**'
147
- 'packages/sdk/typescript/human-protocol-sdk/**'
@@ -25,7 +18,9 @@ jobs:
2518
node-version-file: .nvmrc
2619
cache: yarn
2720
- name: Install dependencies
28-
run: yarn
21+
run: yarn install --immutable
22+
- name: Build libs
23+
run: yarn build:libs
2924
- name: Create .env file
3025
run: cp .env.example .env
3126
working-directory: packages/apps/faucet/server

0 commit comments

Comments
 (0)