From 37fdf7e62cab8d2dacc3e0d731363f1dbab2cde7 Mon Sep 17 00:00:00 2001 From: Kyle McCormick Date: Tue, 8 Apr 2025 11:33:08 -0400 Subject: [PATCH] build: Switch off deprecated C-Hive NPM cache JS tests are failing because we are using a discontinued GHA caching service: https://github.blog/changelog/2025-03-20-notification-of-upcoming-breaking-changes-in-github-actions/#decommissioned-cache-service-brownouts This service is used by the unsupported C-Hive caching action which we are relying on: https://github.com/c-hive/gha-npm-cache We are switching to the supported caching mechanims which is provided by setup-node: https://github.com/actions/setup-node?tab=readme-ov-file#caching-global-packages-data --- .github/workflows/js-tests.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/js-tests.yml b/.github/workflows/js-tests.yml index 463352e1c552..6df9cee794d9 100644 --- a/.github/workflows/js-tests.yml +++ b/.github/workflows/js-tests.yml @@ -26,6 +26,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} + cache: 'npm' - name: Setup npm run: npm i -g npm@10.7.x @@ -63,8 +64,6 @@ jobs: run: | make base-requirements - - uses: c-hive/gha-npm-cache@v1 - - name: Install npm run: npm ci