Claude commited on
Commit
5512277
·
unverified ·
1 Parent(s): aecc92c

Opt sync workflow into Node 24

Browse files

Silences the Node 20 deprecation warning on actions/checkout@v4. No
behavior change — GitHub will flip this default in June 2026 and we can
drop the env var then.

https://claude.ai/code/session_01Cr4KXXgtGcnGFYqxCG3Uct

.github/workflows/sync-to-hf-space.yml CHANGED
@@ -11,6 +11,11 @@ on:
11
  - claude/qcal-copilot-mvp-OZ9wj
12
  workflow_dispatch: # allow manual sync from the Actions tab
13
 
 
 
 
 
 
14
  jobs:
15
  sync:
16
  runs-on: ubuntu-latest
 
11
  - claude/qcal-copilot-mvp-OZ9wj
12
  workflow_dispatch: # allow manual sync from the Actions tab
13
 
14
+ env:
15
+ # Opt in to Node 24 now so JS actions (checkout@v4) don't emit the Node 20
16
+ # deprecation warning. Safe to remove once Node 24 is the runner default.
17
+ FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
18
+
19
  jobs:
20
  sync:
21
  runs-on: ubuntu-latest