From 8fe421e8d5c227d1cb5e31fe73398776d3b05dbf Mon Sep 17 00:00:00 2001 From: zomars Date: Sat, 18 Feb 2023 09:55:49 -0700 Subject: [PATCH] Update pr.yml --- .github/workflows/pr.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 830ea276ea..0b5984f14e 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -35,11 +35,11 @@ jobs: - name: Restore node_modules from cache uses: actions/cache@v3 env: - cache_name: node-modules-yarn - cache_fingerprint: ${{ env.node_version }}-${{ hashFiles('yarn.lock') }} + cache-name: node-modules-yarn + cache-fingerprint: ${{ env.node_version }}-${{ hashFiles('yarn.lock') }} with: path: node_modules - key: ${{ runner.os }}-${{ env.cache_name }}-${{ env.cache_fingerprint }} + key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.cache-fingerprint }} - name: lint the code run: yarn lint build: @@ -70,11 +70,11 @@ jobs: - name: Restore node_modules from cache uses: actions/cache@v3 env: - cache_name: node-modules-yarn - cache_fingerprint: ${{ env.node_version }}-${{ hashFiles('yarn.lock') }} + cache-name: node-modules-yarn + cache-fingerprint: ${{ env.node_version }}-${{ hashFiles('yarn.lock') }} with: path: node_modules - key: ${{ runner.os }}-${{ env.cache_name }}-${{ env.cache_fingerprint }} + key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.cache-fingerprint }} # figure the better way supporting all the packages - name: Fake yarn postinstall