Skip to content

Commit

Permalink
chore: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Oct 12, 2023
1 parent bff5b67 commit 8bcadab
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -26,7 +28,6 @@ jobs:

run: |
npm set "//registry.npmjs.org/:_authToken" ${{ secrets.SSH_KEY }}
pnpm install
pnpm run lint
pnpm run test
Expand Down

0 comments on commit 8bcadab

Please sign in to comment.