Skip to content

Commit

Permalink
Fix workflow run
Browse files Browse the repository at this point in the history
  • Loading branch information
csouchet committed Feb 9, 2023
1 parent f2dac3d commit 15b0305
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 49 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/a11ytester-action.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: ♿️ A11Y CI with a11ytester-action
on:
pull_request:
paths:
- '**/.github/workflows/axe-core.yml'
- '.github/workflows/generate-site-preview.yml'
- 'src/**/*'
- 'package.json'
- 'package-lock.json'
- 'gatsby-*.js'
- '.nvmrc'
workflow_run:
workflows: ["Generate Site Preview"]
types:
- completed

env:
WEBSITE_TO_AUDIT: `https://process-analytics-process-analytics-dev-site_preview-pr-${{ github.event.pull_request.number }}.surge.sh/`
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/a11ywatch.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: ♿️ A11Y CI with a11ywatch
on:
pull_request:
paths:
- '**/.github/workflows/axe-core.yml'
- '.github/workflows/generate-site-preview.yml'
- 'src/**/*'
- 'package.json'
- 'package-lock.json'
- 'gatsby-*.js'
- '.nvmrc'
workflow_run:
workflows: ["Generate Site Preview"]
types:
- completed

env:
WEBSITE_TO_AUDIT: `https://process-analytics-process-analytics-dev-site_preview-pr-${{ github.event.pull_request.number }}.surge.sh/`
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/axe-core.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
name: ♿️ A11Y CI with Axe Core
on:
pull_request:
paths:
- '**/.github/workflows/axe-core.yml'
- '.github/workflows/generate-site-preview.yml'
- 'src/**/*'
- 'package.json'
- 'package-lock.json'
- 'gatsby-*.js'
- '.nvmrc'
workflow_run:
workflows: ["Generate Site Preview"]
types:
- completed

env:
WEBSITE_TO_AUDIT: 'https://process-analytics-process-analytics-dev-site_preview-pr-${{ github.event.pull_request.number }}.surge.sh/'

jobs:
Axe-CLI:
runs-on: ubuntu-latest
needs: site_preview
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
15 changes: 4 additions & 11 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
name: ♿️ A11Y CI with Lighthouse
on:
pull_request:
paths:
- '**/.github/workflows/lighthouse.yml'
- '**/.github/workflows/lighthouse-comment.js'
- '**/.github/workflows/lighthouse-budget.json'
- '.github/workflows/generate-site-preview.yml'
- 'src/**/*'
- 'package.json'
- 'package-lock.json'
- 'gatsby-*.js'
- '.nvmrc'
workflow_run:
workflows: ["Generate Site Preview"]
types:
- completed

env:
WEBSITE_TO_AUDIT: `https://process-analytics-process-analytics-dev-site_preview-pr-${{ github.event.pull_request.number }}.surge.sh/`
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/pa11y.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
name: ♿️ A11Y CI with Pa11y
on:
pull_request:
paths:
- '**/.github/workflows/pa11y.yml'
- '**/.pa11yci'
- '.github/workflows/generate-site-preview.yml'
- 'src/**/*'
- 'package.json'
- 'package-lock.json'
- 'gatsby-*.js'
- '.nvmrc'
workflow_run:
workflows: ["Generate Site Preview"]
types:
- completed

env:
WEBSITE_TO_AUDIT: `https://process-analytics-process-analytics-dev-site_preview-pr-${{ github.event.pull_request.number }}.surge.sh/`
Expand Down

0 comments on commit 15b0305

Please sign in to comment.