Skip to content

chore(deps): update actions/setup-node action to v4.1.0 (#89) #170

chore(deps): update actions/setup-node action to v4.1.0 (#89)

chore(deps): update actions/setup-node action to v4.1.0 (#89) #170

name: Renovate config validator
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
LOG_LEVEL: debug
jobs:
validate-config:
name: Validate Renovate config
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Node.js environment
id: setup-node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: lts/*
- name: Get npm cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm --global config get cache)" >> ${GITHUB_OUTPUT}
- name: Get npm renovate version
id: npm-renovate-version
shell: bash
run: echo "renovate-version=$(npm view renovate version)" >> ${GITHUB_OUTPUT}
- name: global npm cache
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ steps.setup-node.outputs.node-version }}-renovate-${{ steps.npm-renovate-version.outputs.renovate-version }}
- name: Run renovate-config-validator
run: >-
npx -p renovate -c
'renovate-config-validator
renovate.json
base.json
default.json
renovate-config.json
frontend.json
automerge.json
dependencyLocking.json
action.json
'