Skip to content

Commit

Permalink
devops: Check npm version in task setup-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty committed Jun 20, 2023
1 parent 4336343 commit c273643
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
# assuming `cargo` and [Task](https://taskfile.dev) are installed.

# Beyond installing requirements, we generally shouldn't be using this as a
# Makefile, requiring running this to have a good dev loop — rust tools are
# independently good, and adding an intermediate layer means we're
# reimplementing things or getting in the way. Instead, this can be used to
# aggregate commands that's are currently separate; e.g. check out `test-all`.
# Makefile — in other words, we shouldn't require running this as part of normal
# development. Rust tools are independently good, and adding an intermediate
# layer means we're reimplementing things or getting in the way. Instead, this
# can be used to aggregate commands that are currently separate; e.g. check out
# `test-all`.

# Some of the file may be somewhat over-engineered!

Expand Down Expand Up @@ -143,6 +144,8 @@ tasks:
status:
- which hugo
- which npm
# Check for a recent npm version
- "[ $(npm -v | cut -d. -f1) -ge 9 ]"
- which python3
- which elixir
preconditions:
Expand Down

0 comments on commit c273643

Please sign in to comment.