diff --git a/.github/workflows/pa11y.yml b/.github/workflows/pa11y.yml index 807055e0..46b78587 100644 --- a/.github/workflows/pa11y.yml +++ b/.github/workflows/pa11y.yml @@ -37,8 +37,8 @@ jobs: with: node-version: "18" - - name: Install Pa11y - run: npm install pa11y + - name: Install dependencies + run: npm install --production=false - name: Setup custom variables id: customvars @@ -71,7 +71,7 @@ jobs: run: "sleep ${{ steps.customvars.outputs.DELAY_SECONDS }}" - name: Execute Pa11y tests - run: npx pa11y "${{ steps.customvars.outputs.BASE_URL }}/${{ steps.customvars.outputs.URL_PATH }}" 2>&1 | tee pa11y_output.txt + run: npx pa11y "${{ steps.customvars.outputs.BASE_URL }}/${{ steps.customvars.outputs.URL_PATH }}" --threshold 999 2>&1 | tee pa11y_output.txt - name: Read pa11y_output file. id: pa11y_output diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1485ba56..af7c0121 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,7 @@ jobs: id: nvm - name: Use Node.js (.nvmrc) - uses: actions/setup-node@v3 + uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # pin@v3 with: node-version: "${{ steps.nvm.outputs.NVMRC }}"