Skip to content

Commit

Permalink
Merge pull request #154 from GSA-TTS/pin-gha
Browse files Browse the repository at this point in the history
Refactor around GHA and npm pinning
  • Loading branch information
wesley-dean-gsa authored Aug 8, 2024
2 parents c52f619 + 4db9fef commit 294ee12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pa11y.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

Expand Down

0 comments on commit 294ee12

Please sign in to comment.