From afdcf9d2442cdd79f6c18fb5e892c65550830db3 Mon Sep 17 00:00:00 2001 From: nahbee10 Date: Tue, 29 Oct 2024 13:12:46 -0400 Subject: [PATCH] remove lighthouse action --- .github/workflows/lighthouse.yml | 62 ++++++++++++++++---------------- 1 file changed, 32 insertions(+), 30 deletions(-) diff --git a/.github/workflows/lighthouse.yml b/.github/workflows/lighthouse.yml index 71ebf0f2c..d5bc87abb 100644 --- a/.github/workflows/lighthouse.yml +++ b/.github/workflows/lighthouse.yml @@ -15,33 +15,35 @@ jobs: run: yarn install --frozen-lockfile - name: Build run: yarn build - - name: Upload theme - run: node ./bin/theme-upload.js - env: - ZENDESK_EMAIL: ${{ secrets.zendesk_email }} - ZENDESK_API_TOKEN: ${{ secrets.zendesk_token }} - ZENDESK_SUBDOMAIN: ${{ secrets.subdomain }} - BRAND_ID: ${{ secrets.brand_id }} - - name: Audit URLs using Lighthouse - run: yarn test-a11y - env: - end_user_email: ${{ secrets.end_user_email }} - end_user_password: ${{ secrets.end_user_password }} - subdomain: ${{ secrets.subdomain }} - urls: | - https://${{ secrets.subdomain }}.zendesk.com/hc/en-us - https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/categories/360002267479 - https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/sections/360003307259 - https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/articles/360010829359 - https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/requests/new - https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/search?utf8=%E2%9C%93&query=Help+Center - https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/community/topics - https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/community/topics/360000644279 - https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/community/posts - https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/community/posts/360006766799 - https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/profiles/364655812519 - https://${{ secrets.subdomain }}.zendesk.com/hc/contributions/posts?locale=en-us - https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/subscriptions - https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/requests - https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/requests/3 - https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/community/posts/new + # deactivate this step since it will make the current theme live on production + # TODO: activate this with configuration once the theme is ready for production + # - name: Upload theme + # run: node ./bin/theme-upload.js + # env: + # ZENDESK_EMAIL: ${{ secrets.zendesk_email }} + # ZENDESK_API_TOKEN: ${{ secrets.zendesk_token }} + # ZENDESK_SUBDOMAIN: ${{ secrets.subdomain }} + # BRAND_ID: ${{ secrets.brand_id }} + # - name: Audit URLs using Lighthouse + # run: yarn test-a11y + # env: + # end_user_email: ${{ secrets.end_user_email }} + # end_user_password: ${{ secrets.end_user_password }} + # subdomain: ${{ secrets.subdomain }} + # urls: | + # https://${{ secrets.subdomain }}.zendesk.com/hc/en-us + # https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/categories/360002267479 + # https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/sections/360003307259 + # https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/articles/360010829359 + # https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/requests/new + # https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/search?utf8=%E2%9C%93&query=Help+Center + # https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/community/topics + # https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/community/topics/360000644279 + # https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/community/posts + # https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/community/posts/360006766799 + # https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/profiles/364655812519 + # https://${{ secrets.subdomain }}.zendesk.com/hc/contributions/posts?locale=en-us + # https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/subscriptions + # https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/requests + # https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/requests/3 + # https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/community/posts/new