From fc3b9d5eac51f3da6f0e751c8d358b446f3b3e43 Mon Sep 17 00:00:00 2001 From: Kody Jackson Date: Wed, 30 Aug 2023 16:35:32 -0600 Subject: [PATCH] Use pre-built action --- .github/workflows/accessilibity-audit-2.yml | 28 +++++++-------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/.github/workflows/accessilibity-audit-2.yml b/.github/workflows/accessilibity-audit-2.yml index ba6596b0742db5..61bdcb85f83191 100644 --- a/.github/workflows/accessilibity-audit-2.yml +++ b/.github/workflows/accessilibity-audit-2.yml @@ -14,23 +14,13 @@ jobs: name: Test 2 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Install required Linux packages - run: | - sudo apt-get update - sudo apt-get install libgbm-dev - sudo apt-get install xvfb - - uses: actions/setup-node@v3 + - uses: a11ywatch/github-action@v2 with: - node-version: 18.1 - - - name: Install npm packages - run: | - npm install - - name: Build - run: | - npm run build - - name: Accessibility Audits - run: | - npm install -g @jakepartusch/lumberjack - xvfb-run --auto-servernum lumberjack --url https://developers.cloduflare.com + WEBSITE_URL: https://developers.cloudflare.com + SUBDOMAINS: false + TLD: false + SITEMAP: true + FAIL_ERRORS_COUNT: 15 + LIST: true + FIX: false + UPGRADE: false