From 70267da28e626a23eae8f35ca0c93eacc7ae6513 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 19 Jul 2021 18:38:49 +0300 Subject: CI: make use of the `actions/setup-node`'s `cache` option (#34453) --- .github/workflows/browserstack.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to '.github/workflows/browserstack.yml') diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index bdbc16089..ffa594a77 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -21,14 +21,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: "${{ env.NODE }}" - - - name: Set up npm cache - uses: actions/cache@v2 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} + cache: npm - name: Install npm dependencies run: npm ci -- cgit v1.2.3