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
This commit is contained in:
3
.github/workflows/js-tests.yml
vendored
3
.github/workflows/js-tests.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user