Skip to content

Commit

Permalink
fix: add install pnpm step
Browse files Browse the repository at this point in the history
  • Loading branch information
bbb169 committed Oct 16, 2023
1 parent 957846e commit c164b88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,14 @@ jobs:
with:
node-version: "19.1.0"

- name: Install pnpm
run: npm install -g pnpm

- name: 启动 pm2
run: |
ssh root@${{secrets.REMOTE_HOST}} "
cd ${{secrets.REMOTE_SERVER_DIR}};
ls -a;
npm install -g pnpm
pnpm install;
pnpm run ts-build;
"
Expand Down

0 comments on commit c164b88

Please sign in to comment.