1
0
mirror of synced 2025-12-30 03:01:36 -05:00

check broken links using localhost (#27010)

* Revert "fix(link-check): add WAF token to avoid 403 (#26964)"

This reverts commit 8bb525188f.

* check broken links using localhost

* remove temp comment
This commit is contained in:
Peter Bengtsson
2022-04-19 11:17:37 -04:00
committed by GitHub
parent e534711163
commit 2fe74dc32b
2 changed files with 153 additions and 77 deletions

View File

@@ -50,9 +50,20 @@ jobs:
- name: Install Node.js dependencies
run: npm ci
- name: Run broken github/github link check
- name: Build server
run: npm run build
- name: Start server in the background
env:
WAF_TOKEN: ${{ secrets.WAF_TOKEN }}
NODE_ENV: production
PORT: 4000
run: |
node server.mjs &
sleep 5
curl --retry-connrefused --retry 3 -I http://localhost:4000/
- name: Run broken github/github link check
run: |
script/check-github-github-links.js > broken_github_github_links.md