From d8f359ada0ceec58e9515c74a03c5b95ed70f2ec Mon Sep 17 00:00:00 2001 From: Jeff Mendez Date: Wed, 22 Mar 2023 20:18:10 -0400 Subject: [PATCH] chore(docs): add litemode notes (#41) --- README.md | 2 ++ action.yml | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5845967..8849030 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ A feature rich GitHub action that runs actionable accessibility reports on your Some of the primary features include pass/fail testing, code fixes, and detailed reports. +When running locally the action uses A11yWatch Lite. + ### Usage ```yaml diff --git a/action.yml b/action.yml index fa4e27a..716ccff 100644 --- a/action.yml +++ b/action.yml @@ -114,11 +114,19 @@ runs: sudo apt install -y protobuf-compiler libprotobuf-dev - name: A11yWatch CLI Install + if: ${{ inputs.SLIM == 'true' }} + uses: baptiste0928/cargo-install@v1 + with: + crate: a11ywatch_cli + version: "0.9.2" + features: "grpc" + + - name: A11yWatch CLI Install + if: ${{ inputs.SLIM == 'false' }} uses: baptiste0928/cargo-install@v1 with: crate: a11ywatch_cli version: "0.9.2" - features: ${{ inputs.SLIM && "grpc" }} - name: Configure CLI creds if: ${{ inputs.A11YWATCH_TOKEN }}