aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/browserstack.yml
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2021-02-08 21:41:10 +0200
committerXhmikosR <[email protected]>2021-02-17 06:54:38 +0200
commit9c264dbea5621db0ce5ccdb628f28c962c2910e3 (patch)
tree76f669ff6faba41fa4c6cc1a66561194ac4b0367 /.github/workflows/browserstack.yml
parent254de4cb42507f965caa337de949df33e3898d43 (diff)
downloadbootstrap-9c264dbea5621db0ce5ccdb628f28c962c2910e3.tar.xz
bootstrap-9c264dbea5621db0ce5ccdb628f28c962c2910e3.zip
CI: remove the cache fallback and shorten cache key (#33012)
Diffstat (limited to '.github/workflows/browserstack.yml')
-rw-r--r--.github/workflows/browserstack.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml
index a12bffcf7..bdbc16089 100644
--- a/.github/workflows/browserstack.yml
+++ b/.github/workflows/browserstack.yml
@@ -26,10 +26,9 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.npm
- key: ${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
+ key: ${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
- ${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
- ${{ runner.os }}-node-v${{ env.NODE }}-
+ ${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
- name: Install npm dependencies
run: npm ci