From 0120179531d1cedd41c6dec237616cf6567d8c18 Mon Sep 17 00:00:00 2001 From: Kyle McCormick Date: Tue, 8 Apr 2025 13:00:56 -0400 Subject: [PATCH] build: Switch off deprecated C-Hive NPM cache (#36502) 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 463352e1c5..6df9cee794 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