From 1bde10c4e1cae837d2d93e38d496676ef2a39f43 Mon Sep 17 00:00:00 2001 From: Stefano Antonel Date: Thu, 30 May 2024 09:39:17 +0200 Subject: [PATCH] Add auto accept install npx packages --- .github/workflows/validations.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validations.yml b/.github/workflows/validations.yml index 097459d..d5beb77 100644 --- a/.github/workflows/validations.yml +++ b/.github/workflows/validations.yml @@ -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."