diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index b83a710..324dd0c 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -4,6 +4,11 @@ description: Setup Node.js and pnpm runs: using: composite steps: + - name: Add SSH key to chekout a private repo + uses: webfactory/ssh-agent@v0.5.4 + with: + ssh-private-key: ${{ secrets.REPO_SSH_KEY }} + - name: Install pnpm 🤏🏻 uses: pnpm/action-setup@v2.2.4 with: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 95248a6..62a7048 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,11 +13,6 @@ jobs: contents: read packages: read steps: - - name: Add SSH key to chekout a private repo - uses: webfactory/ssh-agent@v0.5.4 - with: - ssh-private-key: ${{ secrets.REPO_SSH_KEY }} - - name: Checkout 🛎️ uses: actions/checkout@v3