diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index dabd8ec..46f5283 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -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 diff --git a/Makefile b/Makefile index c1390b9..7fe309f 100644 --- a/Makefile +++ b/Makefile @@ -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