Skip to content

Commit 22b7f83

Browse files
authored
fix: make node 22 install default for tox workflows (#448)
Prevents hooks failure due to implicit node being too old (20) and dropped by many tools.
1 parent c02723d commit 22b7f83

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/tox.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,18 @@ jobs:
179179
tox --version
180180
coverage --version
181181
182-
- name: Set up Node.js
182+
- name: Set up Node.js (custom)
183183
if: ${{ inputs.node-version-file != '' }}
184184
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
185185
with:
186186
node-version-file: ${{ inputs.node-version-file }}
187187

188+
- name: Set up Node.js
189+
if: ${{ inputs.node-version-file == '' }}
190+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
191+
with:
192+
version: "22"
193+
188194
- name: Run pre
189195
if: ${{ inputs.run_pre }}
190196
run: ${{ inputs.run_pre }}

0 commit comments

Comments
 (0)