-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
290 additions
and
3,509 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 |
---|---|---|
|
@@ -48,39 +48,121 @@ jobs: | |
with: | ||
name: lib-schema | ||
path: packages/lib/**/schema/ | ||
|
||
lib-tests: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
defaults: | ||
run: | ||
working-directory: 'packages/lib' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
registry-url: 'https://npm.pkg.github.com' | ||
node-version: 18.0.0 | ||
cache: 'yarn' | ||
- uses: actions/download-artifact@master | ||
with: | ||
name: lib-builds | ||
path: packages/lib | ||
- uses: actions/download-artifact@master | ||
with: | ||
name: lib-schema | ||
path: packages/lib | ||
- uses: actions/download-artifact@master | ||
with: | ||
name: lib-backend-builds | ||
path: packages/lib | ||
- name: Install | ||
run: yarn install | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.PACKAGE_PAT }} | ||
|
||
- name: Unit Tests | ||
run: yarn test | ||
env: | ||
REACT_APP_ADDR_ENS_SUBDOMAIN: 'test.dm3.eth' | ||
DATABASE_URL: 'postgresql://postgres:[email protected]:5432' | ||
backend-test: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
defaults: | ||
run: | ||
working-directory: 'packages/lib' | ||
steps: | ||
|
||
- uses: actions/checkout@v1 | ||
- id: workspace-test | ||
uses: ./test-action | ||
with: | ||
workspace-name: 'dm3-backend' | ||
package-pat: ${{ secrets.PACKAGE_PAT }} | ||
integration-test: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
defaults: | ||
run: | ||
working-directory: 'packages/lib' | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- id: workspace-test | ||
uses: ./test-action | ||
with: | ||
workspace-name: 'dm3-integration-tests' | ||
package-pat: ${{ secrets.PACKAGE_PAT }} | ||
lib-crypto-test: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
defaults: | ||
run: | ||
working-directory: 'packages/lib' | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- id: workspace-test | ||
uses: ./test-action | ||
with: | ||
workspace-name: 'dm3-lib-crypto' | ||
package-pat: ${{ secrets.PACKAGE_PAT }} | ||
lib-delivery-test: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
defaults: | ||
run: | ||
working-directory: 'packages/lib' | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- id: workspace-test | ||
uses: ./test-action | ||
with: | ||
workspace-name: 'dm3-lib-delivery' | ||
package-pat: ${{ secrets.PACKAGE_PAT }} | ||
lib-messaging-test: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
defaults: | ||
run: | ||
working-directory: 'packages/lib' | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- id: workspace-test | ||
uses: ./test-action | ||
with: | ||
workspace-name: 'dm3-lib-messaging' | ||
package-pat: ${{ secrets.PACKAGE_PAT }} | ||
lib-profile-test: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
defaults: | ||
run: | ||
working-directory: 'packages/lib' | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- id: workspace-test | ||
uses: ./test-action | ||
with: | ||
workspace-name: 'dm3-lib-profile' | ||
package-pat: ${{ secrets.PACKAGE_PAT }} | ||
lib-shared-test: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
defaults: | ||
run: | ||
working-directory: 'packages/lib' | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- id: workspace-test | ||
uses: ./test-action | ||
with: | ||
workspace-name: 'dm3-lib-shared' | ||
package-pat: ${{ secrets.PACKAGE_PAT }} | ||
lib-storage-test: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
defaults: | ||
run: | ||
working-directory: 'packages/lib' | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- id: workspace-test | ||
uses: ./test-action | ||
with: | ||
workspace-name: 'dm3-lib-storage' | ||
package-pat: ${{ secrets.PACKAGE_PAT }} | ||
offchain-resolver-test: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
defaults: | ||
run: | ||
working-directory: 'packages/lib' | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- id: workspace-test | ||
uses: ./test-action | ||
with: | ||
workspace-name: 'dm3-offchain-resolver' | ||
package-pat: ${{ secrets.PACKAGE_PAT }} |
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 |
---|---|---|
|
@@ -2,4 +2,3 @@ | |
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn lint-staged | ||
yarn test --watchAll=false |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
packages/lib/offchainResolver/src/encoding/decode/decodeAddr.ts
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
packages/lib/offchainResolver/src/encoding/decode/decodeText.ts
This file was deleted.
Oops, something went wrong.
69 changes: 0 additions & 69 deletions
69
packages/lib/offchainResolver/src/encoding/decodeRequest.test.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.