From d40a31c18eae44549a372f38b0f5e378928afc6e Mon Sep 17 00:00:00 2001 From: carson <104383295+codebycarson@users.noreply.github.com> Date: Fri, 29 Mar 2024 12:53:54 -0700 Subject: [PATCH] Fixed docs building and deploying by installing required peer dependencies (#135) --- .github/workflows/deploydocs.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploydocs.yml b/.github/workflows/deploydocs.yml index f4dcd0bb..01217177 100644 --- a/.github/workflows/deploydocs.yml +++ b/.github/workflows/deploydocs.yml @@ -4,7 +4,7 @@ on: push: branches: - main - + # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -39,9 +39,12 @@ jobs: - name: Install Dependencies run: yarn + - name: Install Peer Dependencies + run: yarn add -W viem@2.x wagmi + - name: Create Docs run: yarn docs - + # Checks out the newly built docs artifact to the gh-pages branch of this repo # Then, publishes to github actions. - name: Checkout gh-pages and Deploy to GitHub Pages @@ -52,4 +55,4 @@ jobs: build_dir: docs keep_history: true env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}