From d43203c259b077b7c2abe11d582ee1412e0e271a Mon Sep 17 00:00:00 2001 From: Victor Bo <10667379@qq.com> Date: Fri, 15 Dec 2023 10:53:05 +0800 Subject: [PATCH] ci: update deployment workflow --- .github/workflows/deployment.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 4ff78ea..d346a98 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -5,10 +5,13 @@ on: branches: - main + pull_request: + branches: + - main + jobs: deploy: runs-on: ubuntu-latest - steps: - uses: actions/checkout@v3 @@ -18,7 +21,7 @@ jobs: - name: Set node uses: actions/setup-node@v3 with: - node-version: lts/* + node-version: 18.x cache: pnpm - name: Install