From b638d265c17ce51a571819e760d0d134978391ca Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Tue, 9 Jan 2024 08:46:18 +0100 Subject: [PATCH] ci: use built-in cache action --- .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 5627962..ab9a000 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -20,15 +20,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - name: Cache Node.js modules - uses: actions/cache@v2 - 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: Install dependencies for integration test