diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aebaecf..98b4772 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,25 +4,16 @@ on: push: branches: [main] pull_request: + workflow_dispatch: jobs: build: runs-on: ubuntu-latest - env: - CI: true - strategy: - matrix: - node-version: [16.x] + steps: - - uses: actions/checkout@v3 - - uses: volta-cli/action@v1 - - name: Validate renovate config - run: | - for file in *.json - do - if [ $file = 'package.json' ]; then - continue - fi - echo "[CI] Validate: $file" - RENOVATE_CONFIG_FILE=${file} npx --package renovate -c 'renovate-config-validator' - done \ No newline at end of file + - uses: actions/checkout@v4 + + - name: Validate + uses: rinchsan/renovate-config-validator@v0.2.0 + with: + pattern: "*.json"