Skip to content

fix: expected config for github-actions #18

fix: expected config for github-actions

fix: expected config for github-actions #18

name: Validate renovate config
on:
push:
branches:
- main
paths:
- '*.json'
pull_request:
paths:
- '*.json'
jobs:
build:
runs-on: ubuntu-latest
env:
CI: true
steps:
- uses: actions/checkout@v4
- name: Setting up Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Validate renovate config
run: |
for file in *.json
do
echo "[CI] Validating $file"
RENOVATE_CONFIG_FILE=${file} npx --package renovate -c 'renovate-config-validator'
done