diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf9038b..95248a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,11 +13,13 @@ 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 - with: - token: ${{ secrets.SSH_KEY }} - persist-credentials: false - name: Setup 🛠️ uses: ./.github/actions/setup @@ -26,7 +28,6 @@ jobs: run: | - npm set "//registry.npmjs.org/:_authToken" ${{ secrets.SSH_KEY }} pnpm install pnpm run lint pnpm run test