-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split SDK + initial
cheqd
support (#449)
* Initial * Tweaks * Tutorials * Mention `tutorials` in `README.md` * Bump up node version * Update test name * Track `master` * Minor tweaks * Try to publish packages * Update `package.json`s * Publish packages * Update `changeset` config * Revert back npm workflow * Proper naming * Improve READMEs
- Loading branch information
Showing
652 changed files
with
40,216 additions
and
38,475 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": "@changesets/cli/changelog", | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "public", | ||
"baseBranch": "master", | ||
"updateInternalDependencies": "patch", | ||
"ignore": [] | ||
} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Cheqd blockchain modules tests | ||
|
||
on: [pull_request] | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
env: | ||
CHEQD_MNEMONIC: "steak come surprise obvious remain black trouble measure design volume retreat float coach amused match album moment radio stuff crack orphan ranch dose endorse" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: "20.x" | ||
- run: yarn install --frozen-lockfile --ignore-scripts | ||
- run: npm install -g [email protected] | ||
- run: turbo telemetry disable | ||
- run: CHEQD_MNEMONIC=$CHEQD_MNEMONIC turbo run test-with-node --filter @docknetwork/cheqd-blockchain-modules |
11 changes: 6 additions & 5 deletions
11
.github/workflows/unit-tests.yml → .github/workflows/credential-sdk-tests.yml
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,14 +1,15 @@ | ||
name: Unit tests | ||
name: Credential SDK tests | ||
|
||
on: [pull_request] | ||
jobs: | ||
build: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '18.x' | ||
node-version: "20.x" | ||
- run: yarn install --frozen-lockfile --ignore-scripts | ||
- run: yarn build | ||
- run: yarn test | ||
- run: npm install -g [email protected] | ||
- run: turbo telemetry disable | ||
- run: turbo run test --filter @docknetwork/credential-sdk |
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,4 +1,4 @@ | ||
name: Integration tests | ||
name: Dock blockchain modules tests | ||
|
||
on: [pull_request] | ||
jobs: | ||
|
@@ -10,10 +10,11 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: "18.x" | ||
node-version: "20.x" | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn build | ||
- run: yarn test-with-node | ||
- run: npm install -g [email protected] | ||
- run: turbo telemetry disable | ||
- run: turbo run test-with-node --filter @docknetwork/dock-blockchain-modules | ||
mainnet: | ||
runs-on: ubuntu-latest | ||
env: | ||
|
@@ -22,19 +23,22 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: "18.x" | ||
node-version: "20.x" | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn build | ||
- run: yarn test-with-node | ||
- run: npm install -g [email protected] | ||
- run: turbo telemetry disable | ||
- run: turbo run test-with-node --filter @docknetwork/dock-blockchain-modules | ||
testnet: | ||
runs-on: ubuntu-latest | ||
env: | ||
CONFIG_DOCK_NODE_IMAGE_TAG: "testnet" | ||
DisableTrustRegistryParticipantsTests: true | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: "18.x" | ||
node-version: "20.x" | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn build | ||
- run: yarn test-with-node | ||
- run: npm install -g [email protected] | ||
- run: turbo telemetry disable | ||
- run: turbo run test-with-node --filter @docknetwork/dock-blockchain-modules |
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 |
---|---|---|
|
@@ -15,20 +15,20 @@ jobs: | |
- name: Setup Node JS | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '18.x' | ||
node-version: "20.x" | ||
|
||
- name: Install and Build 🔧 # Only need to install jsdoc package here and then run docs script | ||
run: | | ||
yarn install --frozen-lockfile --ignore-scripts | ||
yarn docs | ||
turbo run docs | ||
- name: Setup mdBook | ||
uses: peaceiris/actions-mdbook@v1 | ||
with: | ||
mdbook-version: 'latest' | ||
mdbook-version: "latest" | ||
|
||
- name: Generate mdBook | ||
run: yarn mdbook | ||
run: turbo run mdbook | ||
|
||
- name: Install SSH Client 🔑 | ||
uses: webfactory/[email protected] | ||
|
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 |
---|---|---|
|
@@ -5,33 +5,39 @@ jobs: | |
master: | ||
runs-on: ubuntu-latest | ||
env: | ||
CONFIG_DOCK_NODE_IMAGE_TAG: 'master' | ||
CONFIG_DOCK_NODE_IMAGE_TAG: "master" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '18.x' | ||
node-version: "20.x" | ||
- run: yarn install --frozen-lockfile --ignore-scripts | ||
- run: yarn examples-with-node | ||
- run: npm install -g [email protected] | ||
- run: turbo telemetry disable | ||
- run: turbo run examples-with-node | ||
mainnet: | ||
runs-on: ubuntu-latest | ||
env: | ||
CONFIG_DOCK_NODE_IMAGE_TAG: 'mainnet' | ||
CONFIG_DOCK_NODE_IMAGE_TAG: "mainnet" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '18.x' | ||
node-version: "20.x" | ||
- run: yarn install --frozen-lockfile --ignore-scripts | ||
- run: yarn examples-with-node | ||
- run: npm install -g [email protected] | ||
- run: turbo telemetry disable | ||
- run: turbo run examples-with-node | ||
testnet: | ||
runs-on: ubuntu-latest | ||
env: | ||
CONFIG_DOCK_NODE_IMAGE_TAG: 'testnet' | ||
CONFIG_DOCK_NODE_IMAGE_TAG: "testnet" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '18.x' | ||
node-version: "20.x" | ||
- run: yarn install --frozen-lockfile --ignore-scripts | ||
- run: yarn examples-with-node | ||
- run: npm install -g [email protected] | ||
- run: turbo telemetry disable | ||
- run: turbo run examples-with-node |
This file was deleted.
Oops, something went wrong.
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,10 +12,11 @@ jobs: | |
- name: Setup node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '18.x' | ||
node-version: "20.x" | ||
|
||
- name: Install, lint, type check and generate docs # Not uploading the docs. | ||
run: | | ||
yarn install --frozen-lockfile --ignore-scripts | ||
yarn lint | ||
yarn docs | ||
npm install -g [email protected] | ||
turbo run lint --parallel | ||
turbo run docs --parallel |
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,23 +1,19 @@ | ||
name: NPM Publish | ||
name: npm Publish | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
build-and-publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '18.x' | ||
node-version: "20.x" | ||
registry-url: https://registry.npmjs.org/ | ||
- run: yarn install --frozen-lockfile --ignore-scripts | ||
- run: yarn build | ||
- run: cp -rf package.json dist | ||
- run: node scripts/set_export_paths.js | ||
- run: cp -rf README.md dist | ||
- run: cd dist && npm publish --access public | ||
- run: yarn changeset publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |
Oops, something went wrong.