Skip to content

Commit 7a28721

Browse files
committed
swap out for dart linkcheck
1 parent b7190e4 commit 7a28721

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,10 @@ jobs:
7979
path: ${{ github.workspace }}/node_modules
8080
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
8181
- run: yarn install
82-
- name: Run Checker
83-
run: yarn linkcheck
82+
- run: yarn build
83+
- name: Install linkcheck
84+
- run: |-
85+
curl https://github.com/filiph/linkcheck/releases/download/v2.0.12/linkcheck-linux-x64.exe -O ./linkcheck
86+
chmod +x ./linkcheck
87+
88+
- run: ./linkcheck

.linksrc.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@
8686
"prettier:fix:all": "prettier --write \"./{src,plugins}/**/*.{md,mdx,js,jsx}\"",
8787
"start": "npm run develop",
8888
"format": "prettier --write \"src/**/*.js\"",
89-
"test": "jest",
90-
"linkcheck": "gatsby build && broken-links-checker --path public/ --baseUrl http://127.0.0.1:3000/"
89+
"test": "jest"
9190
},
9291
"devDependencies": {
9392
"@hashicorp/broken-links-checker": "^1.2.10",

0 commit comments

Comments
 (0)