Skip to content

Commit

Permalink
chore: update Action, add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
rosnovsky committed Nov 23, 2023
1 parent 524bb9e commit b53075c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm run build --if-present
- run: npm test
- run: npm install pnpm --location=global
- run: pnpm i --frozen-lockfile
- run: pnpm run build --if-present
- run: pnpm test
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
commit:
.PHONY: help commit
.DEFAULT_GOAL := help

help: ## Show this help.
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

commit: ## Stage all files and commit with `commitizen`
git add .
pnpm commit

0 comments on commit b53075c

Please sign in to comment.