Skip to content

Commit

Permalink
workflowを更新
Browse files Browse the repository at this point in the history
  • Loading branch information
dsk52 committed Feb 26, 2024
1 parent 755eec4 commit 62a213f
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
- uses: actions/checkout@v4

- name: Validate
uses: rinchsan/renovate-config-validator@v0.2.0
with:
pattern: "*.json"

0 comments on commit 62a213f

Please sign in to comment.