Skip to content

Commit 3b49207

Browse files
committed
fix: lock netlify-cli version and use npx to run it
1 parent e01bd6b commit 3b49207

File tree

4 files changed

+12401
-8285
lines changed

4 files changed

+12401
-8285
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ validate-frontmatters:
2323

2424
# Using local dependencies, starts a doc site instance on http://localhost:4000.
2525
run: ruby-version-check validate-frontmatters
26-
netlify dev
26+
npx netlify dev
2727

2828
run-debug: ruby-version-check
2929
JEKYLL_LOG_LEVEL='debug' netlify dev

mise.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,3 @@
22
idiomatic_version_file_enable_tools = ["ruby", "node"] # Use idiomatic version file to ensure netlify uses the same version as dev
33
[env]
44
_.file = '.env'
5-
[tools]
6-
"npm:netlify-cli" = "16.9.3"

0 commit comments

Comments
 (0)