From fed45bb97effb95f74ff40b1d48bd13b34d3534c Mon Sep 17 00:00:00 2001 From: admin Date: Thu, 8 Aug 2024 16:32:02 +0900 Subject: [PATCH] fix(workflow): workflow change --- .github/workflows/deploy.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8b96d413..b8ca2059 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,10 +7,19 @@ on: jobs: build: runs-on: ubuntu-latest + steps: - - name: Checkout source code. + - name: Checkout source code uses: actions/checkout@v3 + - name: Cache Node modules + uses: actions/cache@v2 + with: + path: '**/node_modules' + key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-node- + - name: Install Dependencies run: yarn @@ -25,5 +34,4 @@ jobs: aws s3 cp \ --recursive \ --region ap-northeast-2 \ - packages/admin/dist s3://yangbong-front # 올바른 경로 설정 - + packages/admin/dist s3://yangbong-front