chore(deps): update dependency renovate to v39.169.3 #2527
Workflow file for this run
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
name: Renovate Validate | |
on: | |
pull_request: | |
paths: | |
- ".github/workflows/**.yml" | |
- "extends/**.json" | |
- "renovate.exsample.json" | |
- "default.json" | |
- "renovate.json" | |
- "package-lock.json" | |
- "package.json" | |
- "yarn.lock" | |
workflow_dispatch: | |
jobs: | |
validator: | |
runs-on: ubuntu-latest | |
env: | |
NODE_VERSION: 20 | |
steps: | |
- uses: actions/[email protected] | |
- name: Use Node.js ${{ env.NODE_VERSION }} | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Cache node_modules | |
id: node_modules_cache_id | |
uses: actions/cache@v4 | |
with: | |
path: node_modules | |
key: node-v${{ env.NODE_VERSION }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }} | |
- name: Install | |
if: steps.node_modules_cache_id.outputs.cache-hit != 'true' | |
run: yarn --check-files --frozen-lockfile --non-interactive | |
- name: Run renovate-config-validator | |
run: | | |
set -eu | |
for file in $(find . -maxdepth 2 -type f -name "*.json" -not -name package.json -not -name package-lock.json | sort); do | |
echo -e "Validate ${file}\n" | |
set -x | |
npx --yes --package renovate -- renovate-config-validator --strict "${file}" | |
set +x | |
done |