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