Skip to content

Commit

Permalink
Workaround for setup-node can't read .tool-versions correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
pocka committed Nov 25, 2024
1 parent 0256f70 commit 2f13599
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .tool-versions
# setup-node does not support major-only version notation in .tool-versions.
node-version: "22.x"
cache: npm

- name: Install dependencies
Expand Down

0 comments on commit 2f13599

Please sign in to comment.