From 66a0a7ee6859d9d71efc131e7e7ecb62562dbef1 Mon Sep 17 00:00:00 2001 From: pearmini Date: Fri, 12 Jul 2024 11:44:28 +0800 Subject: [PATCH] fix(deploy): use npm instead of yarn --- .github/workflows/deploy.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3a4183b5dd..fc83526b54 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,6 +2,9 @@ name: Deploy on: workflow_dispatch: + pull_request: + branches: + - v5 push: branches: - v5 @@ -11,8 +14,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - run: yarn install - - run: cd site && yarn install + - run: npm install + - run: cd site && npm install - run: cd site && npm run build - run: cp ./site/CNAME ./site/dist/CNAME - run: |