Skip to content

Commit

Permalink
Add validate deployment file
Browse files Browse the repository at this point in the history
  • Loading branch information
harryy94 committed Jan 27, 2025
1 parent d47bab9 commit 4320a3a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/deploy-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ jobs:
needs: [ package, deploy_infrastructure ]
environment:
name: 'Test'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}

steps:
- name: Lowercase the repo name and username
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/validate-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Validate - Run E2E Tests

on:
workflow_dispatch:
inputs:
environment_prefix:
description: 'Environment Prefix'
required: true
default: 'd01'
options:
- 'd01'
jobs:
accessibility_scan:
name: 'Run Pa11y Accessibility Scan'
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src
steps:
- uses: actions/checkout@v4

- name: Run accessibility scans
working-directory: ./src/e2e/pa11y
run: yarn pa11y-ci --sitemap https://s186${{ github.event.inputs.environment }}-cl-web-fd.azurefd.net/sitemap.xml

0 comments on commit 4320a3a

Please sign in to comment.