From c6539caa75251d0b877a914ccb86de99c07b842c Mon Sep 17 00:00:00 2001 From: seoyeoneel02 Date: Wed, 14 Aug 2024 13:49:50 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20pnpm=20ci=20=EC=88=98=EC=A0=95,=20?= =?UTF-8?q?=EC=95=A1=EC=85=98=20=EC=82=AC=EC=9A=A9=20#37?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dev_deploy.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dev_deploy.yml b/.github/workflows/dev_deploy.yml index 4b29c98..24d4cee 100644 --- a/.github/workflows/dev_deploy.yml +++ b/.github/workflows/dev_deploy.yml @@ -17,12 +17,15 @@ jobs: node-version: ['18', '16', '14'] # 노드 버전 지정! 여러 개도 가능! ['18.x', '14.x'] 요렇게 steps: - - name: Install pnpm - run: npm install -g pnpm - # build 할 코드를 가져옴 (코드 checkout - github에서 제공해주는 checkout@v3 사용) - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v3 + + # pnpm 세팅 + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 8 # Node.js 세팅 - name: Set up Node.js ${{ matrix.node-version }} @@ -38,7 +41,7 @@ jobs: # dependencies 설치, test and build - name: Install dependencies - run: pnpm ci # dependencies 설치 pnpm ci, pnpm install 모두 다 됨! + run: pnpm install # dependencies 설치 - name: Run Build run: pnpm run build # 빌드