Skip to content

Commit 1adced5

Browse files
committed
actions/setup-nodeで.node-versionを使う
1 parent f4c0961 commit 1adced5

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/super-linter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
persist-credentials: false
4848
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
4949
with:
50+
node-version-file: .node-version
5051
cache: npm
5152
- run: bash "${GITHUB_WORKSPACE}/scripts/super_linter/build/set_path.sh"
5253
################################

.github/workflows/update-gitleaks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2727
if: github.event_name != 'pull_request' || github.event.action != 'closed'
2828
with:
29+
node-version-file: .node-version
2930
cache: npm
3031
- name: Install packages
3132
if: github.event_name != 'pull_request' || github.event.action != 'closed'

.github/workflows/update-package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2828
if: github.event_name != 'pull_request' || github.event.action != 'closed'
2929
with:
30+
node-version-file: .node-version
3031
cache: npm
3132
- if: github.event_name != 'pull_request' || github.event.action != 'closed'
3233
run: npm install

0 commit comments

Comments
 (0)