-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af00ba1
commit 67c6e6f
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,10 @@ inputs: | |
description: 'Renovate git author' | ||
required: false | ||
default: "GitHub Action <[email protected]>" | ||
install-lts-nodejs: | ||
description: 'if `true`, install LTS Node.js. Because Renovate may require more than the default Node.js version of GitHub Actions.' | ||
required: false | ||
default: "true" | ||
|
||
runs: | ||
using: "composite" | ||
|
@@ -54,6 +58,15 @@ runs: | |
# Create a path to save a action summary. | ||
echo "summary=${{ runner.temp }}/summary.md" >> $GITHUB_OUTPUT | ||
# Setup LTS Node.js | ||
# Because Renovate may require more than the default Node.js version of GitHub Actions. | ||
# see: https://github.com/cybozu/renovate-dry-run-action/issues/26 | ||
- name: Setup LTS Node.js | ||
if: inputs.install-lts-nodejs == 'true' | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: lts/* | ||
|
||
- uses: actions/cache@v4 | ||
if: inputs.cache == 'true' | ||
with: | ||
|