Skip to content

Commit

Permalink
Add auto accept install npx packages
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanoantonel committed May 30, 2024
1 parent cd15593 commit 1bde10c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
with:
node-version: '16'
- name: Run validation schema
run: npx ajv-cli validate -s usecases-info.schema.json -d usecases-info.json
run: npx --yes ajv-cli validate -s usecases-info.schema.json -d usecases-info.json
- name: Run linting
run: |
npx js-beautify -f usecases-info.json -k -s 2 -b preserve-inline -n > usecases-info-formatted.json
npx --yes js-beautify -f usecases-info.json -k -s 2 -b preserve-inline -n > usecases-info-formatted.json
cmp usecases-info.json usecases-info-formatted.json > diff.txt
if [ -s diff.txt ]; then
echo "Lintting failed. Run command on README.md to fix it and commit changes."
Expand Down

0 comments on commit 1bde10c

Please sign in to comment.