Skip to content

Commit cfeabaa

Browse files
committed
ENH: Use top-level env for NODE24 forcing.
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 is duplicated across both jobs. To avoid drift and make it easier to roll back later, consider moving it to a top-level env: block (workflow-wide) so all jobs inherit it automatically (or use a YAML anchor if you need per-job overrides).
1 parent e1e5a81 commit cfeabaa

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/docs.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ on:
88
release:
99
types: [published]
1010

11+
env:
12+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
13+
1114
jobs:
1215
build-docs:
1316
runs-on: ubuntu-latest
14-
env:
15-
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
1617
permissions:
1718
contents: read
1819

@@ -86,8 +87,6 @@ jobs:
8687
needs: build-docs
8788
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
8889
runs-on: ubuntu-latest
89-
env:
90-
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
9190
permissions:
9291
contents: read
9392
pages: write

0 commit comments

Comments
 (0)