Skip to content

Commit b7190e4

Browse files
committed
fix link check ci
1 parent ad2dcaa commit b7190e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ jobs:
8080
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
8181
- run: yarn install
8282
- name: Run Checker
83-
run: yarn build:linkcheck
83+
run: yarn linkcheck

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"start": "npm run develop",
8888
"format": "prettier --write \"src/**/*.js\"",
8989
"test": "jest",
90-
"linkcheck": "broken-links-checker --path public/ --baseUrl http://127.0.0.1:3000/"
90+
"linkcheck": "gatsby build && broken-links-checker --path public/ --baseUrl http://127.0.0.1:3000/"
9191
},
9292
"devDependencies": {
9393
"@hashicorp/broken-links-checker": "^1.2.10",

0 commit comments

Comments
 (0)