From 6bd517f3a5a26d5d4423eddd194986dec918a93f Mon Sep 17 00:00:00 2001 From: Qui Le <43738052+quidl@users.noreply.github.com> Date: Fri, 2 Aug 2024 16:59:59 +0700 Subject: [PATCH] Update package_agent.yml --- .github/workflows/package_agent.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/package_agent.yml b/.github/workflows/package_agent.yml index 2345e7e..81d8387 100644 --- a/.github/workflows/package_agent.yml +++ b/.github/workflows/package_agent.yml @@ -32,12 +32,12 @@ jobs: with: node-version: ${{ matrix.node-version }} - # - name: Cache - # id: cache-packages - # uses: actions/cache@v4 - # with: - # path: node_modules - # key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }} + - name: Cache + id: cache-packages + uses: actions/cache@v4 + with: + path: node_modules + key: new-${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }} - name: Install packages if: steps.cache-packages.outputs.cache-hit != 'true'