From 5f70e09520f90c2d662fb6f05d7e69f30c37a483 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Thu, 22 Aug 2024 12:20:11 -0700 Subject: [PATCH] ci: fix test-documentation for Yarn 4 --- .github/workflows/test-documentation.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-documentation.yml b/.github/workflows/test-documentation.yml index a3ba41c7146..bade8a4cd19 100644 --- a/.github/workflows/test-documentation.yml +++ b/.github/workflows/test-documentation.yml @@ -26,12 +26,6 @@ jobs: node-version: ${{ matrix.node-version }} path: ./agoric-sdk - - name: yarn link - run: | - yarn link-cli ~/bin/agoric - echo "/home/runner/bin" >> $GITHUB_PATH - working-directory: ./agoric-sdk - # Select a branch on dapp to test against by adding text to the body of the # pull request. For example: #dapp-encouragement-branch: zoe-release-0.7.0 # The default is 'main' @@ -60,8 +54,10 @@ jobs: path: dapp ref: ${{steps.get-branch.outputs.result}} - - name: Agoric install in dapp - run: agoric install + - name: point dapp to agoric-SDK HEAD + # This assumes the dapp uses Yarn 4 and its other deps are compatible + # with the versions in the agoric-sdk packages. + run: yarn link ../agoric-sdk --all --relative working-directory: ./dapp - name: yarn build in dapp