From 3170eba9660ce3d7f780a5164028909dce0631dc Mon Sep 17 00:00:00 2001 From: mjh000526 Date: Tue, 12 Nov 2024 18:37:29 +0900 Subject: [PATCH] fix(#35): fix to not found pnpm --- .github/workflows/cd.yml | 4 +++- .github/workflows/ci.yml | 9 +++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index e9183586..980465ce 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -3,8 +3,10 @@ name: froxy Continuous Delivery on: push: branches: - - feature-#35-BE-cicd - release # release 브랜치에 푸시될 때 실행 + pull_request: + branches: + - main jobs: build_and_deploy: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b6381c5f..ee642f45 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 + - name: Setup pnpm + uses: pnpm/action-setup@v2 + with: + version: 9 + - name: Setup Node.js uses: actions/setup-node@v3 with: @@ -26,10 +31,6 @@ jobs: run: | echo "${{ secrets.BE_ENV }}" > ./apps/backend/.env - - name: Install pnpm #pnpm설치 - run: | - npm install -g pnpm - - name: Install dependencies #라이브러리설치 run: | pnpm install