From f33aca6973f558e14708a572210fa640fab87867 Mon Sep 17 00:00:00 2001 From: seaerchin Date: Mon, 19 Feb 2024 18:51:09 +0800 Subject: [PATCH] fix(workflow-:(): add in checkout flow --- .github/workflows/ci.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32ccbad33..7f131814f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -188,6 +188,19 @@ jobs: needs: [gatekeep] if: needs.gatekeep.outputs.proceed == 'true' steps: - - name: Deploy to ECS - uses: ./.github/workflows/deploy_prod.yml - \ No newline at end of file + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: '18.x' + - name: Cache Node.js modules + uses: actions/cache@v2 + with: + # npm cache files are stored in `~/.npm` on Linux/macOS + path: ~/.npm + key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.OS }}-node- + ${{ runner.OS }}- + - name: Deploy to ECS + uses: ./.github/workflows/deploy_prod.yml