Bump actions/configure-pages from 5 to 6 #176
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Accessibility Insights | |
| on: | |
| workflow_dispatch: # enable run button on github.com | |
| pull_request: | |
| jobs: | |
| build: | |
| name: Build site | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout branch | |
| uses: actions/checkout@v6 | |
| - name: Setup Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "20" | |
| - run: npm ci | |
| - name: Start development server | |
| run: npm start -- & | |
| - name: Scan site | |
| uses: double-great/accessibility-scan-action@v0.5.0 | |
| with: | |
| url: http://localhost:3000 | |
| # scan-timeout: 1800000 | |
| - name: Upload report as artifact | |
| uses: actions/upload-artifact@v6 | |
| if: success() || failure() | |
| with: | |
| name: "Accessibility report" | |
| path: ${{ github.workspace }}/_accessibility-reports/index.html |