From 2721f6042bc8106e35c3db21f382fc968bfce931 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/css.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to '.github/workflows/css.yml') diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml index 1f394c65e..48f11d459 100644 --- a/.github/workflows/css.yml +++ b/.github/workflows/css.yml @@ -22,14 +22,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