2
2
3
3
.PHONY : start
4
4
start : build
5
- # starts the entire runtime infrastructure
5
+ # starts the entire runtime infrastructure
6
6
docker compose up -d ssl
7
7
8
8
.PHONY : dev
@@ -14,22 +14,22 @@ ui-builder:
14
14
15
15
.PHONY : e2e-tests-ci
16
16
e2e-tests-ci :
17
- npm ci
18
- $(MAKE ) e2e-app
19
- npx playwright install ${browser} --with-deps
20
- npx playwright test -c ./test/e2e/playwright.config.ts --project=${browser} --shard=${shard}
17
+ pnpm install
18
+ " $( MAKE) " e2e-app
19
+ pnpm exec playwright install ${browser} --with-deps
20
+ pnpm exec playwright test -c ./test/e2e/playwright.config.ts --project=${browser} --shard=${shard}
21
21
22
22
.PHONY : e2e-tests
23
23
e2e-tests : ui-builder
24
- npm install
25
- $(MAKE ) e2e-app
26
- npx playwright install chromium firefox
27
- npx playwright test -c ./test/e2e/playwright.config.ts $(params )
24
+ pnpm install
25
+ " $( MAKE) " e2e-app
26
+ pnpm exec playwright install chromium firefox
27
+ pnpm exec playwright test -c ./test/e2e/playwright.config.ts $(params )
28
28
29
29
.PHONY : e2e-app
30
30
e2e-app :
31
- # delete any cached session storage state files if the service isn't running
32
- docker compose ps e2e-app > /dev/null 2>&1 || $(MAKE) clean-test
31
+ # delete any cached session storage state files if the service isn't running
32
+ docker compose ps e2e-app > /dev/null 2>&1 || " $( MAKE) " clean-test
33
33
docker compose up -d e2e-app --build
34
34
35
35
.PHONY : unit-tests
@@ -45,9 +45,9 @@ unit-tests-ci:
45
45
46
46
.PHONY : build
47
47
build :
48
- npm install
48
+ pnpm install
49
49
50
- # ensure we start with a clean ui-dist volume for every build
50
+ # ensure we start with a clean ui-dist volume for every build
51
51
-docker volume rm web-languageforge_lf-ui-dist 2>/dev/null
52
52
53
53
docker compose build mail app lfmerge ld-api next-proxy next-app
@@ -83,11 +83,11 @@ clean:
83
83
84
84
.PHONY : clean-test
85
85
clean-test :
86
- cd test/e2e && npx rimraf test-storage-state
86
+ cd test/e2e && pnpm dlx rimraf test-storage-state
87
87
88
88
.PHONY : clean-powerwash
89
89
clean-powerwash : clean
90
- $(MAKE ) clean-test
90
+ " $( MAKE) " clean-test
91
91
docker system prune -f --volumes
92
92
- docker rmi -f ` docker images -q " lf-*" ` sillsdev/web-languageforge:base-php
93
93
docker builder prune -f
0 commit comments