diff options
| author | XhmikosR <[email protected]> | 2021-07-19 18:38:49 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2021-07-21 16:20:01 +0300 |
| commit | 70267da28e626a23eae8f35ca0c93eacc7ae6513 (patch) | |
| tree | 6c1d4ed14b39dd98c7a507b1b410f4c77c7c0600 /.github/workflows/browserstack.yml | |
| parent | 9cf31d9f8e54aa605d0982f372e3c830c598baec (diff) | |
| download | bootstrap-70267da28e626a23eae8f35ca0c93eacc7ae6513.tar.xz bootstrap-70267da28e626a23eae8f35ca0c93eacc7ae6513.zip | |
CI: make use of the `actions/setup-node`'s `cache` option (#34453)
Diffstat (limited to '.github/workflows/browserstack.yml')
| -rw-r--r-- | .github/workflows/browserstack.yml | 9 |
1 files changed, 1 insertions, 8 deletions
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 |
