mirror of
https://github.com/yanhao98/renovate-example.git
synced 2026-02-04 17:10:34 +08:00
Add Node.js setup step to Renovate workflow (#230)
* Initial plan * Add actions/setup-node@v6 step after checkout Co-authored-by: yanhao98 <37316281+yanhao98@users.noreply.github.com> * Add node-version parameter to setup-node step Co-authored-by: yanhao98 <37316281+yanhao98@users.noreply.github.com> * Update node-version to 'node' for latest version Co-authored-by: yanhao98 <37316281+yanhao98@users.noreply.github.com> * Update node-version to 'lts/*' for latest LTS Co-authored-by: yanhao98 <37316281+yanhao98@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: yanhao98 <37316281+yanhao98@users.noreply.github.com>
This commit is contained in:
3
.github/workflows/检查配置.yaml
vendored
3
.github/workflows/检查配置.yaml
vendored
@@ -12,6 +12,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-node@v6
|
||||||
|
with:
|
||||||
|
node-version: 'lts/*'
|
||||||
- run: npx --yes --package renovate@latest renovate-config-validator
|
- run: npx --yes --package renovate@latest renovate-config-validator
|
||||||
if: always()
|
if: always()
|
||||||
- run: npx --yes --package renovate@latest renovate-config-validator ./default.json5
|
- run: npx --yes --package renovate@latest renovate-config-validator ./default.json5
|
||||||
|
|||||||
Reference in New Issue
Block a user