From 191726493b6d782a55ca9165c045b3a92e5c5e04 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Tue, 9 Jan 2024 09:33:37 +0100 Subject: [PATCH] ci: use built-in cache --- .github/workflows/CI.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f3306be..1fdc5b2 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -16,15 +16,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - name: Cache Node.js modules - uses: actions/cache@v3 - with: - # npm cache files are stored in `~/.npm` on Linux/macOS - path: ~/.npm - key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.OS }}-node- - ${{ runner.OS }}- + cache: 'npm' - name: Install dependencies run: npm ci - name: Build