Browse Source

github workflows: fix test build dependency on content-metadata-protobuf package

Mokhtar Naamani 3 years ago
parent
commit
e4b9cc93b3
2 changed files with 4 additions and 0 deletions
  1. 2 0
      .github/workflows/network-tests.yml
  2. 2 0
      .github/workflows/run-network-tests.yml

+ 2 - 0
.github/workflows/network-tests.yml

@@ -18,6 +18,7 @@ jobs:
       run: |
         yarn install --frozen-lockfile
         yarn workspace @joystream/types build
+        yarn workspace @joystream/content-metadata-protobuf build:ts
         yarn workspace network-tests checks --quiet
 
   network_build_osx:
@@ -36,4 +37,5 @@ jobs:
       run: |
         yarn install --frozen-lockfile --network-timeout 120000
         yarn workspace @joystream/types build
+        yarn workspace @joystream/content-metadata-protobuf build:ts
         yarn workspace network-tests checks --quiet

+ 2 - 0
.github/workflows/run-network-tests.yml

@@ -100,6 +100,7 @@ jobs:
         run: |
           yarn install --frozen-lockfile
           yarn workspace @joystream/types build
+          yarn workspace @joystream/content-metadata-protobuf build:ts
       - name: Ensure tests are runnable
         run: yarn workspace network-tests build
       - name: Execute network tests
@@ -126,6 +127,7 @@ jobs:
         run: |
           yarn install --frozen-lockfile
           yarn workspace @joystream/types build
+          yarn workspace @joystream/content-metadata-protobuf build:ts
       - name: Ensure tests are runnable
         run: yarn workspace network-tests build
       - name: Execute network tests