Skip to content

Commit

Permalink
Production Release (#277)
Browse files Browse the repository at this point in the history
Includes Spring 34 and 35 issues.

Implement the Link Checker on the 889 Tool #151
Research Issues found with Lighthouse  #162
Research Issues found with Lighthouse and address if applicable #269
Dependabot Alert: WS Affected by a DoS When Handlin a Request with many HTTP Headers #261
  • Loading branch information
felder101 authored Jul 26, 2024
1 parent ef66741 commit 4513556
Show file tree
Hide file tree
Showing 6 changed files with 1,261 additions and 51 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/broken-link-checker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Broken Link Checker
on:
push:
paths:
- front-end/**
- .github/**

jobs:
broken-link-checker:
runs-on: ubuntu-latest
defaults:
run:
working-directory: 'front-end'
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: front-end/package-lock.json

- name: install dependencies
run: npm ci

- name: Run broken link checker
run: npm run link-checker:ci
2 changes: 1 addition & 1 deletion front-end/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="Content-Security-Policy" content="script-src 'self' https://dap.digitalgov.gov https://www.google-analytics.com;">
<meta http-equiv="Content-Security-Policy" content="script-src 'self' https://dap.digitalgov.gov https://www.google-analytics.com https://www.googletagmanager.com;">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<link rel="icon" href="/favicon.ico" />
Expand Down
10 changes: 10 additions & 0 deletions front-end/linkinator-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"recurse": true,
"headers": {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0",
"Referer": "http://localhost:5173/"
},
"skip": [
],
"verbosity": "debug"
}
Loading

0 comments on commit 4513556

Please sign in to comment.