Workaround for setup-node can't read .tool-versions correctly
Changes
1 changed files
(+2/-1)
-
-
- 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
- Authored by
-
Shota FUJI
- Authored at
-
- Committed by
-
Shota FUJI
- Committed at
-
- Signature
-
View
- Object name
- 2f13599acb8dfe31beca2e20b8f6f37d30a995fb
- Parent
-
0256f702
- Tab width
-