Skip to content

Commit fe799c4

Browse files
authored
Merge pull request #516 from humanprotocol/develop
Fix Python/Node SDK Publish
2 parents 534648d + 4684606 commit fe799c4

35 files changed

+414
-87
lines changed

.github/workflows/cd-core.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
node-version: 18.15
1616
- run: yarn --ignore-scripts
1717
name: Install dependencies
18-
- run: yarn compile
19-
name: Compile smart contracts
18+
- run: yarn build
19+
name: Build core package
2020
working-directory: ./packages/core
2121
- name: Change core version
2222
uses: jossef/action-set-json-field@v2

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
node-version: 18.15
1616
- run: yarn --ignore-scripts
1717
name: Install dependencies
18-
- run: yarn compile
19-
name: Compile smart contracts
18+
- run: yarn build
19+
name: Build core package
2020
working-directory: ./packages/core
2121
- name: Change Package version
2222
uses: jossef/action-set-json-field@v2

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,18 @@ jobs:
1515
node-version: 18.15
1616
- run: yarn --ignore-scripts
1717
name: Install dependencies
18-
- run: yarn compile
19-
name: Compile smart contracts
18+
- run: yarn build
19+
name: Build core package
2020
working-directory: ./packages/core
2121
- name: Change Node.js SDK version
2222
uses: jossef/action-set-json-field@v2
2323
with:
2424
file: ./packages/sdk/typescript/human-protocol-sdk/package.json
2525
field: version
2626
value: ${{ github.event.release.tag_name }}
27+
- run: yarn build
28+
name: Build SDK package
29+
working-directory: ./packages/sdk/typescript/human-protocol-sdk
2730
- uses: JS-DevTools/npm-publish@v1
2831
name: Publish
2932
with:

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
13-
- name: Install Node
14-
run: yarn --ignore-scripts
1513
- name: Set up Python
1614
uses: actions/setup-python@v2
1715
with:

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,14 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
13-
- name: Install Node
14-
run: yarn --ignore-scripts
13+
- uses: actions/setup-node@v3 #Temporal until this gets fixed https://github.com/NomicFoundation/hardhat/issues/3877
14+
with:
15+
node-version: 18.15
16+
- run: yarn --ignore-scripts
17+
name: Install dependencies
18+
- run: yarn build
19+
name: Build core package
20+
working-directory: ./packages/core
1521
- name: Set up Python
1622
uses: actions/setup-python@v2
1723
with:

.github/workflows/cd-subgraph.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
name: Deploy Subgraph
3333
environment: deploy-subgraph
3434
needs: contracts-check
35-
runs-on: ubuntu-latest
35+
runs-on: ubuntu-latest
3636
strategy:
3737
matrix:
3838
network:
@@ -69,9 +69,9 @@ jobs:
6969
- run: yarn --ignore-scripts
7070
if: ${{steps.continue_check.outputs.stop != 'true'}}
7171
name: Install dependencies
72-
- run: yarn compile
72+
- run: yarn build
7373
if: ${{steps.continue_check.outputs.stop != 'true'}}
74-
name: Compile smart contracts
74+
name: Build core package
7575
working-directory: ./packages/core
7676
- run: yarn global add @graphprotocol/graph-cli
7777
if: ${{steps.continue_check.outputs.stop != 'true'}}

.github/workflows/ci-lint.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
node-version: 18.15
1919
- run: npm install --global yarn && yarn
2020
name: Install dependencies
21-
- run: yarn compile
22-
name: Compile smart contracts
21+
- run: yarn build
22+
name: Build core package
2323
working-directory: ./packages/core
2424
- run: yarn lint
2525
name: Run lint

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
node-version: 18.15
1919
- run: npm install --global yarn && yarn
2020
name: Install dependencies
21-
- run: yarn compile
22-
name: Compile smart contracts
21+
- run: yarn build
22+
name: Build core package
2323
working-directory: ./packages/core
2424
- run: yarn escrow-dashboard:test
2525
name: Run escrow-dashboard test

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
node-version: 18.15
1919
- run: npm install --global yarn && yarn
2020
name: Install dependencies
21-
- run: yarn compile
22-
name: Compile smart contracts
21+
- run: yarn build
22+
name: Build core package
2323
working-directory: ./packages/core
2424
- run: yarn faucet-server:test
2525
name: Run faucet-server test

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
node-version: 18.15
1919
- run: npm install --global yarn && yarn
2020
name: Install dependencies
21-
- run: yarn compile
22-
name: Compile smart contracts
21+
- run: yarn build
22+
name: Build core package
2323
working-directory: ./packages/core
2424
- run: yarn fortune:test
2525
name: Run fortune test

0 commit comments

Comments
 (0)