From 6b6d8b938af4b78b5e372bdeeabe5bff32822e65 Mon Sep 17 00:00:00 2001 From: Dafydd Jones Date: Thu, 5 Feb 2026 16:39:54 +0000 Subject: [PATCH 1/2] ci(safe-settings): add npm caching for `safe-settings` --- .github/workflows/safe-settings.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/safe-settings.yml b/.github/workflows/safe-settings.yml index 168dadd..7e9495f 100644 --- a/.github/workflows/safe-settings.yml +++ b/.github/workflows/safe-settings.yml @@ -20,7 +20,7 @@ jobs: SAFE_SETTINGS_VERSION: 2.1.18 # Path on GHA runner box where safe-settings code downloaded to: - SAFE_SETTINGS_CODE_DIR: ${{ github.workspace }}/.safe-settings-code + SAFE_SETTINGS_CODE_DIR: .safe-settings-code steps: # Self-checkout of 'admin' repo for access to safe-settings deployment configuration - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -35,6 +35,10 @@ jobs: path: ${{ env.SAFE_SETTINGS_CODE_DIR }} persist-credentials: false - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 + with: + cache: npm + cache-dependency-path: ${{ env.SAFE_SETTINGS_CODE_DIR }}/package-lock.json + node-version-file: ${{ env.SAFE_SETTINGS_CODE_DIR }}/.nvmrc - run: npm install working-directory: ${{ env.SAFE_SETTINGS_CODE_DIR }} - name: Run Safe-Settings Full-Sync From 5d64efef6eb7f5b46a1adebab2903f7d14a0eabd Mon Sep 17 00:00:00 2001 From: Dafydd Jones Date: Thu, 5 Feb 2026 16:44:50 +0000 Subject: [PATCH 2/2] ci(safe-settings): revert to `safe-settings` release v2.1.17 * to avoid the repo-renaming bug in github/safe-settings#901 --- .github/workflows/safe-settings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/safe-settings.yml b/.github/workflows/safe-settings.yml index 7e9495f..0b68ad2 100644 --- a/.github/workflows/safe-settings.yml +++ b/.github/workflows/safe-settings.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-24.04 env: # Version/tag of `github/safe-settings` repository to use: - SAFE_SETTINGS_VERSION: 2.1.18 + SAFE_SETTINGS_VERSION: ff7a65655d33006b9820479df0a9e1057a8927e4 # 2.1.17 # Path on GHA runner box where safe-settings code downloaded to: SAFE_SETTINGS_CODE_DIR: .safe-settings-code