Skip to content

Commit

Permalink
Remove link checker and updated playwright install command
Browse files Browse the repository at this point in the history
  • Loading branch information
ebronson68 committed Jan 16, 2024
1 parent 478f7ea commit ce59377
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 63 deletions.
33 changes: 1 addition & 32 deletions .github/workflows/next-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
uses: Andrews-McMeel-Universal/cache-next-install@v1

- name: Install Playwright Browsers
run: yarn pretest:integration:ci
run: yarn playwright install

- name: Use .env cache action
uses: Andrews-McMeel-Universal/get-envs@v1
Expand All @@ -106,37 +106,6 @@ jobs:
path: playwright-report/
retention-days: 30

# Required status check
# Checks gzipped page sizes and application links
check-app:
name: Check Links and Size Limit
runs-on: ubuntu-latest
needs: [build]
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Use .env cache action
uses: Andrews-McMeel-Universal/get-envs@v1
with:
azurecredentials: ${{ secrets.AZURE_CREDENTIALS }}
environment: ${{ inputs.environment }}

- name: Use cache-next-install action
uses: Andrews-McMeel-Universal/cache-next-install@v1

- name: Use cache-next-build action
uses: Andrews-McMeel-Universal/cache-next-build@v1

- name: Run Broken Link Checker
id: link-checker-report
continue-on-error: true
run: yarn test:links

- name: Link Checker Results
if: ${{ failure() }}
run: echo "::warning::${{steps.link-checker-report.outputs.result}}"

- uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/ui-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,37 +105,6 @@ jobs:
path: playwright-report/
retention-days: 30

# Required status check
# Checks gzipped page sizes and application links
check-app:
name: Check Links and Size Limit
runs-on: ubuntu-latest
needs: [build]
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Use .env cache action
uses: Andrews-McMeel-Universal/get-envs@v1
with:
azurecredentials: ${{ secrets.AZURE_CREDENTIALS }}
environment: ${{ inputs.environment }}

- name: Use cache-yarn-install action
uses: Andrews-McMeel-Universal/cache-yarn-install@v1

- name: Use cache-next-build action
uses: Andrews-McMeel-Universal/cache-next-build@v1

- name: Run Broken Link Checker
id: link-checker-report
continue-on-error: true
run: yarn test:links

- name: Link Checker Results
if: ${{ failure() }}
run: echo "::warning::${{steps.link-checker-report.outputs.result}}"

- uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit ce59377

Please sign in to comment.