feat: test gitea actions with a real build!
All checks were successful
Build and test / Build (push) Successful in 2m10s
All checks were successful
Build and test / Build (push) Successful in 2m10s
This commit is contained in:
22
web/Makefile
Normal file
22
web/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
.PHONY: all
|
||||
all: add-copyright format lint build test
|
||||
|
||||
.PHONY: build
|
||||
build:
|
||||
@npm run build
|
||||
|
||||
.PHONY: format
|
||||
format: # format code.
|
||||
@npm run format
|
||||
|
||||
.PHONY: lint
|
||||
lint:
|
||||
@npm run lint
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
@npm run test:unit run
|
||||
|
||||
.PHONY: add-copyright
|
||||
add-copyright: # add license to file headers.
|
||||
@addlicense -v -f ../LICENSE ./src --skip-files=database.yml
|
Reference in New Issue
Block a user