From d04c1a82d798e6720565e1e1af5527ed17366171 Mon Sep 17 00:00:00 2001 From: Seungho Date: Thu, 1 Aug 2024 01:26:53 +0900 Subject: [PATCH] Build Tool Npm to Yarn --- .github/workflows/ci-client.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci-client.yml b/.github/workflows/ci-client.yml index b234d4f9..b6749fe8 100644 --- a/.github/workflows/ci-client.yml +++ b/.github/workflows/ci-client.yml @@ -36,16 +36,11 @@ jobs: - name: Cache node modules id: cache-npm uses: actions/cache@v3 - env: - cache-name: cache-node-modules with: - # npm cache files are stored in `~/.npm` on Linux/macOS - path: ~/.npm - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} + path: ${{ steps.yarn-cache-dir-path.outputs.dir }} + key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: | - ${{ runner.os }}-build-${{ env.cache-name }}- - ${{ runner.os }}-build- - ${{ runner.os }}- + ${{ runner.os }}-yarn- - name: Install and Build run: |