Skip to content

Commit

Permalink
chore(template): sync with ahmadnassri/template-node-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Nassri committed Aug 4, 2022
1 parent 582451f commit 0eca4cc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ NPMRC := $(shell npm config get userconfig)
# Docker

pull: ## pull latest containers
@docker-compose pull
@docker compose pull

readme: ## pull latest containers
@docker-compose run --rm readme
@docker compose run --rm readme

lint: ## run super-linter
@docker-compose run --rm lint
@docker compose run --rm lint

install: ## install all dependencies
@docker-compose run --rm -e NPM_TOKEN=$(NPM_TOKEN) -e GITHUB_TOKEN=$(GITHUB_TOKEN) -v $(NPMRC):/root/.npmrc test npm install --no-fund --no-audit
@docker compose run --rm -e NPM_TOKEN=$(NPM_TOKEN) -e GITHUB_TOKEN=$(GITHUB_TOKEN) -v $(NPMRC):/root/.npmrc test npm install --no-fund --no-audit

test: install ## run all npm tests
@docker-compose run --rm test npm run test:ci
@docker compose run --rm test npm run test:ci

clean: ## remove running containers, volumes, node_modules & anything else
@docker-compose rm --force -v
@docker compose rm --force -v
@rm -rf node_modules coverage .nyc_output

# Utility methods
Expand Down

0 comments on commit 0eca4cc

Please sign in to comment.