Skip to content

Commit

Permalink
Replace path changes with npx --no
Browse files Browse the repository at this point in the history
  • Loading branch information
danyalaytekin committed Nov 12, 2023
1 parent 981929d commit 520e9e0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

HOST = localhost:4000
URL = http://$(HOST)
NPM_BIN = ./node_modules/.bin
export PATH := $(NPM_BIN):$(PATH)

install:
@echo "Installing dependencies"
Expand All @@ -24,7 +22,7 @@ serve:

test:
@echo "Testing site with Pa11y"
pa11y-ci --sitemap "$(URL)/sitemap.xml" --sitemap-find "(pa11y.org|pa11y.github.io)/pa11y" --sitemap-replace "$(HOST)"
npx --no pa11y-ci -- --sitemap "$(URL)/sitemap.xml" --sitemap-find "(pa11y.org|pa11y.github.io)/pa11y" --sitemap-replace "$(HOST)"

browse:
@echo "Opening in default browser"
Expand Down

0 comments on commit 520e9e0

Please sign in to comment.