From 45a69d5c592205fe4b3ac0f01044bbf6e3520be0 Mon Sep 17 00:00:00 2001 From: Nam Nguyen Date: Thu, 26 Oct 2023 14:13:10 +0700 Subject: [PATCH] ci: restore cache --- .github/workflows/ci.yaml | 20 ++++++++++---------- .github/workflows/pr.yaml | 10 +++++----- .github/workflows/release.yaml | 10 +++++----- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 407d797291..26e8d1ab17 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -98,11 +98,11 @@ jobs: path: /tmp/.buildx-cache key: ${{ runner.os }}-${{ env.SERVICE }}-buildx - # - name: Restore node_modules - # uses: actions/cache@v2 - # with: - # path: '**/node_modules' - # key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} + - name: Restore node_modules + uses: actions/cache@v2 + with: + path: '**/node_modules' + key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - name: Install dependences uses: bahmutov/npm-install@HEAD @@ -174,11 +174,11 @@ jobs: path: /tmp/.buildx-cache key: ${{ runner.os }}-${{ env.SERVICE }}-buildx - # - name: Restore node_modules - # uses: actions/cache@v2 - # with: - # path: '**/node_modules' - # key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} + - name: Restore node_modules + uses: actions/cache@v2 + with: + path: '**/node_modules' + key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - name: Install dependences uses: bahmutov/npm-install@HEAD diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 946aefb8ef..2c6ed536fc 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -97,11 +97,11 @@ jobs: path: /tmp/.buildx-cache key: ${{ runner.os }}-${{ env.SERVICE }}-buildx - # - name: Restore node_modules - # uses: actions/cache@v2 - # with: - # path: '**/node_modules' - # key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} + - name: Restore node_modules + uses: actions/cache@v2 + with: + path: '**/node_modules' + key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - name: Install dependences uses: bahmutov/npm-install@HEAD diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a96e6244d1..b5616604a6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -45,11 +45,11 @@ jobs: registry-url: 'https://npm.pkg.github.com' scope: '@kybernetwork' - # - name: Restore node_modules - # uses: actions/cache@v2 - # with: - # path: '**/node_modules' - # key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} + - name: Restore node_modules + uses: actions/cache@v2 + with: + path: '**/node_modules' + key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - name: Install dependences uses: bahmutov/npm-install@HEAD