-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #551 from nevermined-io/develop
SDK v2 PR - DRAFT
- Loading branch information
Showing
535 changed files
with
90,502 additions
and
79,978 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,48 +12,31 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
node-version: 18 | ||
- uses: actions/checkout@v3 | ||
with: | ||
repository: nevermined-io/node | ||
path: node | ||
# TODO: remove this when Node integrated with SDKv2 is integraged | ||
ref: develop | ||
token: ${{ secrets.API_TOKEN_GITHUB }} | ||
- uses: actions/checkout@v3 | ||
with: | ||
repository: nevermined-io/sdk-dtp | ||
path: sdk-dtp | ||
token: ${{ secrets.API_TOKEN_GITHUB }} | ||
- uses: nevermined-io/[email protected] | ||
- uses: nevermined-io/[email protected] | ||
with: | ||
token: ${{ secrets.API_TOKEN_GITHUB }} | ||
opengsn: 'true' | ||
estuary: 'true' | ||
contracts-version: 'v3.2.1' | ||
contracts-version: 'latest' | ||
node: 'false' | ||
|
||
- name: Install sponge | ||
run: sudo apt-get install -y moreutils | ||
|
||
- name: Install dependencies | ||
run: yarn | ||
|
||
- name: Build SDK-JS package and node | ||
run: | | ||
yarn build | ||
yarn pack | ||
cp *.tgz sdk-dtp/sdk.tgz | ||
cp *.tgz node/sdk.tgz | ||
cd sdk-dtp | ||
cat package.json | jq '.dependencies."@nevermined-io/sdk"="./sdk.tgz"' | sponge package.json | ||
yarn | ||
yarn build | ||
yarn pack | ||
cp *dtp*.tgz ../node/dtp.tgz | ||
cd ../node | ||
cat package.json | jq '.dependencies."@nevermined-io/sdk"="./sdk.tgz"' | sponge package.json | ||
cat package.json | jq '.dependencies."@nevermined-io/sdk-dtp"="./dtp.tgz"' | sponge package.json | ||
yarn | ||
cd node/ | ||
yarn add ../ | ||
yarn run setup:dev | ||
yarn build | ||
|
@@ -78,7 +61,7 @@ jobs: | |
NEVERMINED_NODE_URI: http://localhost:8030 | ||
run: | | ||
nvm-tools copy-artifacts ./artifacts | ||
yarn run integration:cover | ||
yarn integration:all | ||
- name: Upload node logs | ||
uses: actions/upload-artifact@v2 | ||
|
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v12 | ||
18 |
Oops, something went wrong.