-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (29 loc) · 899 Bytes
/
Copy pathMakefile
File metadata and controls
39 lines (29 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
.PHONY: help install update check lint-docker test-unit test-e2e audit secrets ci
help:
@printf '%s\n' \
'install Install dependencies' \
'update Update dependencies' \
'check Run Astro and TypeScript checks' \
'lint-docker Lint Dockerfiles' \
'test-unit Run unit tests' \
'test-e2e Build app and run browser tests' \
'audit Audit Node dependencies' \
'secrets Scan git history for secrets' \
'ci Run lint, tests, audit, and secrets scan'
install:
@cd app && pnpm ci
update:
@cd app && pnpm update
check:
@cd app && pnpm run check
lint-docker:
@sh scripts/check_docker_lint.sh
test-unit:
@cd app && pnpm run test:vitest
test-e2e:
@cd app && pnpm run build-only && pnpm run test:playwright
audit:
@sh scripts/check_node_audit.sh
secrets:
@sh scripts/check_secrets_scan.sh
ci: check lint-docker test-unit test-e2e audit secrets