Skip to content

Commit

Permalink
ci: fix npm http-server for linkchecker (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann authored Apr 14, 2024
1 parent c95d952 commit a6d084b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ jobs:
publish_dir: ./build
publish_branch: build
- name: Serve the site # needed so we can run the link checker
env:
NPM_CONFIG_PREFIX: "~/.npm-global"
run: |
npm install -g http-server
http-server build -p 8080 &
~/.npm-global/bin/http-server build -p 8080 &
- name: Install filiph/linkcheck
run: |
wget https://github.com/filiph/linkcheck/releases/download/3.0.0/linkcheck-3.0.0-linux-x64.tar.gz
Expand Down

0 comments on commit a6d084b

Please sign in to comment.