diff --git a/.github/actions/run-accessibility-tests/action.yml b/.github/actions/run-accessibility-tests/action.yml index 7d2876c0..88e1b267 100644 --- a/.github/actions/run-accessibility-tests/action.yml +++ b/.github/actions/run-accessibility-tests/action.yml @@ -12,6 +12,6 @@ runs: steps: - name: Run Pa11y shell: bash - run: npm i && pa11y-ci ${{ inputs.url }} --config .pa11yci-ubuntu.json + run: npm install -g pa11y-ci && pa11y-ci ${{ inputs.url }} --config .pa11yci-ubuntu.json working-directory: ./tests/Dfe.EarlyYearsQualification.AccessibilityTests/ \ No newline at end of file