actions-gh-pages/Makefile

23 lines
427 B
Makefile
Raw Normal View History

IMAGE_NAME := docker.pkg.github.com/peaceiris/actions-gh-pages/dev:latest
NODE_VERSION := $(shell cat ./.nvmrc)
.PHONY: build
build:
2020-07-21 10:37:23 +00:00
docker-compose build --build-arg NODE_VERSION=$(NODE_VERSION)
.PHONY: run
run:
2020-07-21 10:37:23 +00:00
docker-compose run --rm dev bash
2020-07-21 10:37:23 +00:00
.PHONY: ci
ci:
docker-compose run --rm -T dev npm ci
2020-03-25 10:37:45 +00:00
.PHONY: test
test:
2020-07-21 10:37:23 +00:00
docker-compose run --rm -T dev npm test
2020-03-16 00:43:59 +00:00
.PHONY: all
all:
2020-07-21 10:37:23 +00:00
docker-compose run --rm -T dev npm run all