Skip to content

Commit dda71c5

Browse files
authored
Disable automated link testing (#146)
2 parents 37e206d + d06b940 commit dda71c5

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,3 @@ jobs:
3232
run: npm run build
3333
- name: Build JSDoc
3434
run: npm run jsdoc
35-
- name: Test broken links
36-
run: npm run test:links

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,7 @@ npm run lint:js -- --fix
8383

8484
### Check for broken links
8585

86-
Build the site
87-
88-
```sh
89-
hugo --minify
90-
```
91-
92-
and run
86+
To check for broken links, run the following command:
9387

9488
```sh
9589
npm run test:links

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"build": "hugo --minify",
1717
"test": "npm run lint:markdown && npm run lint:css && npm run lint:js && npm run test:links",
1818
"pretest:links": "npm run build",
19-
"test:links": "linkinator ./public --recurse --skip '^https?://(www.linkedin.com|twitter.com|localhost:3000/api/|stackoverflow.com|github.com/organizations/OpenTermsArchive/settings/personal-access-token-requests|joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12|openai.com|github.com|www.nytimes.com)' --verbosity error",
19+
"test:links": "linkinator ./public --recurse --verbosity error",
2020
"lint:markdown": "markdownlint *.md content/**/*.md",
2121
"lint:css": "stylelint \"themes/opentermsarchive/assets/css/*.css\"",
2222
"lint:js": "eslint themes/opentermsarchive/assets/js/",

0 commit comments

Comments
 (0)