22
33.PHONY : start
44start : build
5- # starts the entire runtime infrastructure
5+ # starts the entire runtime infrastructure
66 docker compose up -d ssl
77
88.PHONY : dev
@@ -14,22 +14,22 @@ ui-builder:
1414
1515.PHONY : e2e-tests-ci
1616e2e-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}
2121
2222.PHONY : e2e-tests
2323e2e-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 )
2828
2929.PHONY : e2e-app
3030e2e-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
3333 docker compose up -d e2e-app --build
3434
3535.PHONY : unit-tests
@@ -45,9 +45,9 @@ unit-tests-ci:
4545
4646.PHONY : build
4747build :
48- npm install
48+ pnpm install
4949
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
5151 -docker volume rm web-languageforge_lf-ui-dist 2>/dev/null
5252
5353 docker compose build mail app lfmerge ld-api next-proxy next-app
@@ -83,11 +83,11 @@ clean:
8383
8484.PHONY : clean-test
8585clean-test :
86- cd test/e2e && npx rimraf test-storage-state
86+ cd test/e2e && pnpm dlx rimraf test-storage-state
8787
8888.PHONY : clean-powerwash
8989clean-powerwash : clean
90- $(MAKE ) clean-test
90+ " $( MAKE) " clean-test
9191 docker system prune -f --volumes
9292 - docker rmi -f ` docker images -q " lf-*" ` sillsdev/web-languageforge:base-php
9393 docker builder prune -f
0 commit comments