Skip to content

Commit

Permalink
chore: Use asdf tool version manager
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasMaros committed Mar 19, 2024
1 parent 8ec454d commit 83c0866
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 18.19.1
12 changes: 4 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
# Watch sources and host demo content on http://localhost:8080
dev:
. $$NVM_DIR/nvm.sh && nvm use && \
npm i && npm run watch
asdf exec npm i && asdf exec npm run watch

build:
. $$NVM_DIR/nvm.sh && nvm use && \
npm i && npm run build
asdf exec npm i && asdf exec npm run build

lint:
. $$NVM_DIR/nvm.sh && nvm use && \
npm i && npm run lint
asdf exec npm i && asdf exec npm run lint

release:
. $$NVM_DIR/nvm.sh && nvm use && \
npm run release
asdf exec npm run release

#============================================================= CI TASKS ========

Expand Down

0 comments on commit 83c0866

Please sign in to comment.